SSH key question
Gary Aitken
ubuntu at dreamchaser.org
Fri Dec 11 00:29:42 UTC 2020
On 12/10/20 11:09 AM, 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.
>
> I generated the proper keys with ssh-genkey, then I used ssh-copy-id
> to send the keys to the target machine. As I said, done from the base
> to both of the laptops, it works fine. I even have remote access to
> my partners laptop from the base using her id for the remote actions.
>
> However, from my own laptop, I can't get password-free access, via ssh
> or rsync, to my base desktop. I either put up with the password
> prompt, or ssh to the base from the laptop and run the file transfers
> from the remote base login to/from the laptop because that way it does
> not require passwords.
You might try editing
/etc/ssh/sshd_config
on the target and setting
LogLevel DEBUG
then restart sshd
sudo systemctl restart sshd
Have you checked the protections on ~/.ssh/authorized_keys?
Gary
More information about the ubuntu-users
mailing list