Fix command.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 May 2010 20:44:46 +0300
changeset 374 cdc768ae8024
parent 373 c390029b4325
child 375 14c1b180f3f3
Fix command.
ssh.rst
--- 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.