ssh without password

Been remoting to various servers recently rectifying load balancing. This saves me digging around passwords for each server. more time to do real work.

on local do:

ssh-keygen -t rsa


cat .ssh/id_rsa.pub | ssh username@destination.server.local -p 22 'cat >> .ssh/authorized_keys'

finally test:

ssh destination.server.local -p 22

This entry was posted in technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>