SSH key question

Karl Auer kauer at biplane.com.au
Thu Dec 10 22:10:31 UTC 2020


On Thu, 2020-12-10 at 10:09 -0800, MR ZenWiz wrote:
> I have three machines set up on my home network
> [...]
> I can't get the same access from one of the laptops back to the base.

This sequence:
> laptop: ssh-genkey
> laptop: ssh-copy-id <base>
> laptop: complete remote login
> laptop: ssh <base> - requires I enter the password

>From which system are you remotely logging in to the laptop?

Anyway, try adding "--o IdentitiesOnly=yes" to the last command line in
that sequence. This cuts out the agent (if any).

Also, check that the public part of the laptop's key is actually
present in ~/.ssh/authorized_keys on the base system.

And finally - give us complete command lines. It will expose no
secrets, since you are using RFC1918 IP addresses and standard key
names, and providing no key content. However it will allow us to see
for certain which machines are involved in doing what.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
Old fingerprint: 8D08 9CAA 649A AFEF E862 062A 2E97 42D4 A2A0 616D







More information about the ubuntu-users mailing list