equal
deleted
inserted
replaced
11 $ ssh-keygen -y -f my_dsa_key # recover pub key from priv |
11 $ ssh-keygen -y -f my_dsa_key # recover pub key from priv |
12 |
12 |
13 $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa |
13 $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa |
14 # change passphrase of priv key |
14 # change passphrase of priv key |
15 |
15 |
16 $ ssh user@remote_host cat < $HOME/.ssh/id_rsa.pub cat ">>" .ssh/authorized_keys |
16 $ ssh user@remote_host cat ">>" "~/.ssh/authorized_keys" <~/.ssh/id_rsa.pub |
17 # public pub key on remote host |
17 # public pub key on remote host |
18 |
18 |
19 * Using. |
19 * Using. |
20 |
20 |
21 ** Shell login. |
21 ** Shell login. |