ssh_notes
This is an old revision of the document!
copying keys
When setting up password less authentication via ssh, use ssh-copy-id to copy the public key to the remote machine.
The command looks like
ssh-copy-id user@host
When you run it the first time, it will ask for password and then copies the key to the remote machine. It is very convenient!
Ref:
- man page - https://linux.die.net/man/1/ssh-copy-id
Useful links
- You can create nicknames for logging into remote servers in ~/.ssh/config and can use them with ssh, rsync, scp etc., - https://www.saltycrane.com/blog/2008/11/creating-remote-server-nicknames-sshconfig/
ssh_notes.1611349743.txt.gz · Last modified: 2021/01/22 21:09 by raju