fix.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 04 Apr 2011 17:35:24 +0300
changeset 867 0ad8febf7458
parent 866 0f4a610411cd
child 868 a0179c19a731
fix.
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.