- run
ssh-keygen
on the remote user - copy the contents of the remote
id_rsa.pub file
(i.e your public key) that was just generated, and append it to the local~/.ssh/authorized_keys
file.
Note: basically the steps scripted by ssh-copy-id
Note2: make sure your file permissions are kosher. - DONE!
ssh <host> -l <username>
away to your heart's content. Flip the steps if you need access in the other direction
Monday, March 7, 2016
Yet Another Passwordless SSH Post
Quick and dirty steps to getting remote ssh access setup. Obviously, not meant to be comprehensive; those can be found elsewhere on the interweb. More of a mental bookmark to be found online; to augment this.
Subscribe to:
Posts (Atom)