ssh access to remote machine

I have set up a local Ubuntu desktop and port forwarded 22 so I can ssh access it from internet. Works fine. From other ip addresses ssh user@ip returns user@ip’s password: and I can log in From Ubuntu droplet terminal ssh user@ip returns Permission denied (publickey,password)

How do I configure droplet Ubuntu to allow desktop log in?

FYI I access droplet Ubuntu using ssh key pairs


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @jeffki,

You can enable password authentication by following the steps here:

If you are still unable to login, I would recommend adding the -v flag to your SSH command to get some debug information:

  1. ssh -vvv user@ip_address

Regards, Bobby