SSH Keygen Infos

I havent’t wrote in a while. To keep it short: I’m still alive.
This is just a short note on ssh keygen and ssh-copy which I was not aware of.

Let’s assume you have your keys an need to change the passphrase:
cd ~/.ssh/
(keys can be ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub)

ssh-keygen -f id_dsa -p

And copy the key to remote host:

ssh-copy-id -i USER@REMOTE_HOST

That’s it šŸ™‚ now you can connect to the remote machine without hassle.

ssh USER@REMOTE_HOST

Leave a Reply