I can't seem to get filezilla to connect to SFTP.

I can connect to SSH without issues. I use a public key with pasphrase for that.

I'm on debian 9, with a LEMP setup.

I cannot get into sftp. I have tried root, i've tried the username that I setup when I set up the node, and every combination of password, passphrase, and public key I can I used. I've tried resetting the root password.

It only give me this error message
Error: Could not connect to server.

any suggestions?

3 Replies

SFTP runs off of port 22, so the first thing to do will be to ensure that your Linode's port 22 is open and accepting connections. Since you're able to connect via SSH, it's not likely that this is the issue preventing you from using SFTP, but it's still worth checking. You can do this from outside your Linode with the command nmap -p 22 <LinodeIP>, or you can run netstat -plntu from inside your Linode. You'll also want to ensure that if you have a firewall, it is not configured to allow SSH connections only from specific IP addresses. Something else to look at is your /etc/ssh/sshd_config file, as there are lines in there that can disable root access and password access. It's also important to make sure that the private key is copied to FileZilla so that it can be checked against the public key on your Linode. FileZilla's documentation for using SFTP with public keys might provide some additional clarification.

do you know if the user I should use is root?

Ok for anyone else who might be having trouble.

THe filezilla documentation above got me going. And the user name to use is root.

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