SSH key question
David Fletcher
dave at thefletchers.net
Thu Dec 10 18:29:33 UTC 2020
On Thu, 2020-12-10 at 10:09 -0800, MR ZenWiz wrote:
> I have three machines set up on my home network with remote file copy
> and ssh interactions. I have my desktop "base" machine set up for
> password-free remote access to the two laptops, but for some reason,
> I
> can't get the same access from one of the laptops back to the base.
AIUI, you only ever run the genkey once. Doesn't matter which machine.
You need to be able to edit ~/.ssh/authorized_keys on a remote machine
and add your public key to that file. In my case it's the same as
id_rsa.pub. Make sure the access privileges are tight - chmod -R 700
~/.ssh and you should be good to go. I find that I need to do an ssh
into a remote machine first to get the known_hosts file updated then
rsync and things work seamlessly.
HTH Dave
More information about the ubuntu-users
mailing list