author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 02 Oct 2014 15:55:43 +0300 (2014-10-02) | |
changeset 1626 | 73fa021859e7 |
parent 1625 | 0fa6542d8c93 |
child 1627 | eacf6cd64bd9 |
--- a/ssh.rst Tue Sep 30 19:30:28 2014 +0300 +++ b/ssh.rst Thu Oct 02 15:55:43 2014 +0300 @@ -22,7 +22,7 @@ $ ssh-keygen -t dsa -f my_dsa_key # store priv key under my_dsa_key # and pub key under my_dsa_key.pub - $ ssh-keygen -y -f my_dsa_key # recover pub key from priv + $ ssh-keygen -y -f ~/.ssh/id_dsa >~/.ssh/id_dsa.pub # recover pub key from priv $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa # change passphrase of priv key