equal
deleted
inserted
replaced
40 |
40 |
41 $ ssh -i ./priv1 -i ./priv2 $user@$host |
41 $ ssh -i ./priv1 -i ./priv2 $user@$host |
42 |
42 |
43 or place in ~/.ssh/config: |
43 or place in ~/.ssh/config: |
44 |
44 |
|
45 Host * |
45 IdentityFile ~/.ssh/identity # standard search path for protocol ver. 1 |
46 IdentityFile ~/.ssh/identity # standard search path for protocol ver. 1 |
46 IdentityFile ~/.ssh/id_dsa # standard search path for RSA key protocol ver. 2 |
47 IdentityFile ~/.ssh/id_dsa # standard search path for RSA key protocol ver. 2 |
47 IdentityFile ~/.ssh/id_rsa # standard search path for DSA key protocol ver. 2 |
48 IdentityFile ~/.ssh/id_rsa # standard search path for DSA key protocol ver. 2 |
48 IdentityFile ~/.ssh/my_dsa |
49 IdentityFile ~/.ssh/my_dsa |
49 IdentityFile ~/.ssh/another_dsa |
50 IdentityFile ~/.ssh/another_dsa |
50 |
51 |
51 or |
52 or per host private key: |
52 |
53 |
53 Host host1 # alias, that user provide at CLI |
54 Host host1 # alias, that user provide at CLI |
54 HostName host1.example.com # real host name to log into |
55 HostName host1.example.com # real host name to log into |
55 User iam |
56 User iam |
56 IdentifyFile ~/.ssh/iam_priv_dsa |
57 IdentifyFile ~/.ssh/iam_priv_dsa |