# HG changeset patch # User Oleksandr Gavenko # Date 1301927724 -10800 # Node ID 0ad8febf7458ba74550f3a986b834d6e84de0218 # Parent 0f4a610411cd0cff8dc89d1f4d54c5c989a00f0b fix. diff -r 0f4a610411cd -r 0ad8febf7458 ssh.rst --- a/ssh.rst Mon Apr 04 17:35:05 2011 +0300 +++ b/ssh.rst Mon Apr 04 17:35:24 2011 +0300 @@ -13,7 +13,7 @@ $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa # change passphrase of priv key - $ ssh user@remote_host cat < $HOME/.ssh/id_rsa.pub cat ">>" .ssh/authorized_keys + $ ssh user@remote_host cat ">>" "~/.ssh/authorized_keys" <~/.ssh/id_rsa.pub # public pub key on remote host * Using.