ssh.rst
changeset 1595 7f512266d262
parent 1386 864237ce5f1b
child 1626 73fa021859e7
equal deleted inserted replaced
1592:5ebe526dd687 1595:7f512266d262
    27   $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa
    27   $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa
    28                                      # change passphrase of priv key
    28                                      # change passphrase of priv key
    29 
    29 
    30   $ ssh $user@$host cat ">>" "~/.ssh/authorized_keys" <~/.ssh/id_rsa.pub
    30   $ ssh $user@$host cat ">>" "~/.ssh/authorized_keys" <~/.ssh/id_rsa.pub
    31                                      # public pub key on remote host
    31                                      # public pub key on remote host
       
    32 
       
    33   $ ssh-copy-id  $user@$host         # alternative to previous command
    32 
    34 
    33 Shell login.
    35 Shell login.
    34 ============
    36 ============
    35 ::
    37 ::
    36 
    38