ssh.rst
changeset 374 cdc768ae8024
parent 372 1a1b0f19eb51
child 375 14c1b180f3f3
--- a/ssh.rst	Mon May 03 20:42:32 2010 +0300
+++ b/ssh.rst	Mon May 03 20:44:46 2010 +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 ">>" .ssh/authorized_keys
+  $ ssh user@remote_host cat < $HOME/.ssh/id_rsa.pub cat ">>" .ssh/authorized_keys
                                      # public pub key on remote host
 
 * Using.