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)
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