ssh.rst
changeset 374 cdc768ae8024
parent 372 1a1b0f19eb51
child 375 14c1b180f3f3
equal deleted inserted replaced
373:c390029b4325 374:cdc768ae8024
    11   $ ssh-keygen -y -f my_dsa_key      # recover pub key from priv
    11   $ ssh-keygen -y -f my_dsa_key      # recover pub key from priv
    12 
    12 
    13   $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa
    13   $ ssh-keygen -p -N "newphrase" -P "oldphrase" -f ~/.ssh/id_dsa
    14                                      # change passphrase of priv key
    14                                      # change passphrase of priv key
    15 
    15 
    16   $ ssh user@remote_host cat < $HOME/.ssh/id_rsa.pub ">>" .ssh/authorized_keys
    16   $ ssh user@remote_host cat < $HOME/.ssh/id_rsa.pub cat ">>" .ssh/authorized_keys
    17                                      # public pub key on remote host
    17                                      # public pub key on remote host
    18 
    18 
    19 * Using.
    19 * Using.
    20 
    20 
    21 ** Shell login.
    21 ** Shell login.