Ssh notes

From raju

copying keys

When setting up password less authentication via ssh, we can use ssh-copy-id to copy the public key to the remote machine the very first time. The command looks like

    ssh-copy-id user@host
    

First it will ask for a password and then copies the key. Very convenient!

Ref:- man page - https://linux.die.net/man/1/ssh-copy-id

Useful links