equal
deleted
inserted
replaced
27 $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa |
27 $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa |
28 # change passphrase of priv key |
28 # change passphrase of priv key |
29 |
29 |
30 $ ssh $user@$host cat ">>" "~/.ssh/authorized_keys" <~/.ssh/id_rsa.pub |
30 $ ssh $user@$host cat ">>" "~/.ssh/authorized_keys" <~/.ssh/id_rsa.pub |
31 # public pub key on remote host |
31 # public pub key on remote host |
|
32 |
|
33 $ ssh-copy-id $user@$host # alternative to previous command |
32 |
34 |
33 Shell login. |
35 Shell login. |
34 ============ |
36 ============ |
35 :: |
37 :: |
36 |
38 |