Report this

What is the reason for this report?

sftp now asking for password

Posted on November 18, 2014

Hi I’m on Ubuntu 14 trying to access sftp via the terminal. I am able to ssh in but when I try to sftp it asks for a password - it also doesn’t accept any of my passwords (root or user).

I was able to sftp into the server yesterday. This morning I did a server reboot after I was prompted to on log in. I also did apt-get update and upgrade. Would this have changed any settings related to sftp?



This textbox defaults to using Markdown to format your 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.

Well just tried it again and it worked. So not really sure what happened. Probably just a typo.

Just terminal.

I am using a different port but it’s specified in the sftp command. It’s the same command I’ve always used.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.