Created by Daniel on 11/22/2024
On some servers you might be unable to connect with ssh keys, even if you setup the ssh config properly.
How to fix this?
Please try the following commands from the shell of the machine you want to connect into.
chmod 700 ~/.ssh/ chmod 600 ~/.ssh/authorized_keys
Useful tip
Want more info about what ssh is doing when you connect?
ssh -vvvvvv -i key.pem user@host