Can't login via SFTP

I'm just getting started and working on the tutorials up through Hosting a Website and I'm stuck unable to access the server via SFTP. I'm getting the following error…

> The user name or password was not accepted by the server.

I've tried using root and the new user that I created under the Securing Your Server tutorial.

I'm not having any problems logging in via SSH in Terminal.

3 Replies

What program are you using to utilize SFTP? If it's something like FileZilla, are you setting the port to 22?

Also, are you using SSH keys and disable password login?

I'm using Transmit on OS X and port 22.

No SSH keys and did not disable password login.

Hmm. I would then also log in via SSH and check your auth log on the server to see what the specific error messages are. In Debian based distros that's /var/log/auth.log and in Red Hat based distros it's /var/log/secure .

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct