Cant connect SSH outside of web console.

Posted January 4, 2018 1.3k views
ApacheUbuntu 16.04


I am using Ubuntu 16.04 with Apache.

I am trying to connect to FTP/SSH via password and also tried SSH key but nothing working.

Every time I connect to FTP, it gives below error.

Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server

I enabled password authentication in config file.

Is there any solution for this?

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.

Submit an Answer
1 answer

Use the correct SSH key or enable password authentication properly using the console.