Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4959

Troubleshooting • Re: Trouble with ssh keys on Pi Zero

$
0
0
I've set up working keys giving me what I want on the DeskPi Pro - I can get passwordless access to all the other Pi's (4 of them). Using the same commands on the Pi Zero shows no errors, but when I try to SSH from it to any other Pi in the command line, it still asks for a password.
Re-reading your post, it seems you want to go from the various Raspberry Pis to other Raspberry Pis and not just have the DeskPi as the center topographically. What would be the use-case for going 'sideways' in the network rather than spanning out from the DeskPi each time?

You could set up agent forwarding but in the larger scheme of things, that is an insecure practice. Agent forwarding is off by default. Using the ForwardAgent option in ~/.ssh/config can turn it on.

Another, perhaps better, option would be to populate ~/.ssh/authorized_keys and ~/.ssh/config on all the devices.

Another, slightly more complicated, option would be to set up Host-Based SSH authentication on each Raspberry Pi.

Statistics: Posted by tpyo kingg — Sun Sep 01, 2024 6:36 pm



Viewing all articles
Browse latest Browse all 4959

Trending Articles