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

Networking and servers • Re: Raspberry Pi 4 Computer Module and SSH keys

$
0
0
To manually add a new public key on your server/pi (if you want more than one) you can copy the new public key over then append it to your authorized keys with
cat new_key >> ~/.ssh/authorized_keys
ssh also sometimes does not handle the key authentication correctly if the file permissions on the authorized_keys file are too permissive. The recommended permission for the file is normally owner rw (chmod 600)

Statistics: Posted by buffalobill — Sun Jun 30, 2024 7:36 am



Viewing all articles
Browse latest Browse all 5091

Trending Articles