OpenSSH
ssh -o PreferredAuthentications=password [email protected]
OpenSSH define older things because why would people do updates
ssh -oKexAlgorithms=+diffie-hellman-group-exchange-sha1 -o HostKeyAlgorithms=+ssh-rsa [email protected]
Private Key File has to have the correct permissions
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/bob/private.key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/Users/bob/private.key": bad permissions
[email protected]: Permission denied (publickey).
Fix Permissions on Private Key File
sudo chmod 400 /Users/bob/private.key
Connect
ssh -i /Users/bob/private.key [email protected]