Force Password Authentication with SSH
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@example.com
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@example.com
If you are experiencing this issue read on for the official solution from Ubuntu. Encrypted Home Directory If you have an encrypted home directory, SSH cannot access your authorized_keys file becaus
A couple things to check if you this type of error. The error is given by the client. So check your client know_hosts file. For additional debugging try connecting to the host using verbose mode. i
Solution: This may be caused by a directive in the /etc/ssh/ssh_config file. To allow login with RSA key you need to uncomment the line: # IdentityFile ~/.ssh/id_rsa to IdentityFile ~/.s
Set permissions with chmod 700 .ssh chmod 600 .ssh/authorized_keys If find the following in your logs. sshd[28426]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key sshd[28426]: Auth
ssh-copy-id -i ~/.ssh/id_rsa.pub "demo@demo.yourhost.com -p222"