Thursday, August 14, 2014

Upload ssh certificates with ssh-copy-id

I've been doing this manually for years, and just found there is a command specifically made to add login certificate to an ssh server to allow remote login without password authentication.

ssh-copy-id -i id_rsa -p 22 $user@$host

No comments:

Post a Comment