# HG changeset patch # User Oleksandr Gavenko # Date 1272908404 -10800 # Node ID 1a1b0f19eb51279c7e01a61efdbf9b452f184665 # Parent 0664ebefacb168cc1287ea263d4f3c931ef989af Multiply private keys for ssh. diff -r 0664ebefacb1 -r 1a1b0f19eb51 ssh.rst --- a/ssh.rst Mon May 03 20:25:55 2010 +0300 +++ b/ssh.rst Mon May 03 20:40:04 2010 +0300 @@ -23,6 +23,8 @@ $ ssh $user@$host $ ssh $user@$host:$port + $ ssh -i ~/.ssh/my_dsa_key $user@$host + or $ ssh -l $user $host @@ -32,6 +34,20 @@ $ ssh -X $user@$host +** Multiply private keys. + +ssh try use all listen keys: + + $ ssh -i ./priv1 -i ./priv2 $user@$host + +or place in ~/.ssh/config: + + IdentityFile ~/.ssh/identity # standard search path for protocol ver. 1 + IdentityFile ~/.ssh/id_dsa # standard search path for RSA key protocol ver. 2 + IdentityFile ~/.ssh/id_rsa # standard search path for DSA key protocol ver. 2 + IdentityFile ~/.ssh/my_dsa + IdentityFile ~/.ssh/another_dsa + * Installing. ** Windows.