最終更新:2016-01-14 (木) 15:51:26 (1503d)  

ssh-copy-id
Top / ssh-copy-id

install your public key in a remote machine's authorized_keys

ssh-copy-id [-i [identity_file]] [user@]machine

  • ssh-keygen -t dsa
    ssh-copy-id -i .ssh/id_dsa.pub user@192.168.1.16
  • presumably using a login password, so password authentication should be enabled, unless you've done some clever use of multiple identities