31. Janvāris 2015
- 2015.01.31, 10:44
- generate ssh key:
ssh-keygen -t rsa -C '(comment)'
make sure ssh automatically selects it when connecting to host:
ssh-add /path/to/.ssh/key
copy to target host:
ssh-copy-id -i /path/to/.ssh/key user@target.host - 0 rakstair doma