Recommended Steps to Connect to SFTP Using FileZilla?

I’m used to plain FTP but my new host says I need to use SFTP instead. I opened FileZilla and I’m not sure where to even put the sftp:// part or if I need a different port or something. Do I just type it into the quickconnect bar like normal FTP or is there a whole different setup for this? Any help appreciated, I’m not very technical.

Two ways to do it. Quick one off connection, just type sftp://yourhost.com in the quickconnect bar with your username and password, port 22 or leave it blank since that’s the default for SFTP.

For something you’ll reuse, go to File, Site Manager, New Site. Set Protocol to “SFTP, SSH File Transfer Protocol”, port 22, fill in your login, then Connect. It saves for next time so you just double click it later.

First connection you’ll get an “unknown host key” popup with a fingerprint, that’s just FileZilla checking the server’s SSH identity. Tick “always trust” and continue. Also don’t confuse SFTP with FTPS, they’re different protocols even though hosts mix up the names sometimes.

A couple of relevant FileZilla forum threads if you want more detail:

Also some good threads on r/filezilla if you search “SFTP” there.

Side note, if you also deal with cloud storage a lot, try CloudMounter - this tool lets you mount SFTP as a regular drive on your Mac so you can just drag files in Finder instead of opening a separate client.

24 Likes

Don’t click “Always trust” blindly. Verify the displayed host-key fingerprint with your hosting provider, then accept and save it only if it matches; if that fingerprint changes later, stop and check before connecting.

A connection timeout and an “authentication failed” message point to very different problems. A timeout usually means the host, port, firewall, or IP allowlist is wrong. Authentication failure means FileZilla reached the SSH server, but the username, password, or key was rejected. The message log at the top of FileZilla is more useful than the final popup, so read the last few lines before changing settings.

Check the account instructions for the required Logon Type. Some hosts use a password, while others require an SSH private key or separate SFTP credentials that are not the same as the hosting control-panel login. If a key is required, select the appropriate key-file option and import the private key. Avoid repeatedly retrying a password since some servers temporarily block an IP after several failed attempts.

The host-key prompt is normal on the first successful contact, but @pr1m3_cache is right about verifying the fingerprint before saving it. Once that is accepted, any failure afterward is usually an authentication or permissions issue rather than a FileZilla setup problem.

Changing FileZilla’s passive/active mode won’t fix SFTP because those settings apply to FTP, not SSH transfers. Leave them alone, verify the host-key fingerprint as @pr1m3_cache said, then troubleshoot only the exact log error shown after connecting.

If FileZilla reaches the host-key prompt, that is a different case from a connection that simply times out. The prompt means FileZilla has contacted an SSH server at that host and port. It does not mean the username or password has been accepted yet. Verify the fingerprint with the provider, accept it if it matches, and then let the login continue.

In Site Manager, keep the Host field to the actual server name or IP supplied by the provider. Do not paste a control-panel URL, https:// prefix, or directory path there. Select SFTP, use the specified port, and match the Logon Type to the account instructions. “Normal” is generally for a username and password. If the provider supplied a private key, choose the key-file option instead. When pasting credentials, watch for a trailing space, especially if they came from an email or password manager.

A caveat that gets missed with hosting accounts is that SSH access may need to be enabled separately. Some providers let you create an FTP user but do not automatically permit that user to log in through SFTP. Others restrict SFTP users to a particular directory. In that situation, the FileZilla configuration can be perfectly correct while the server still rejects the account or shows a nearly empty remote directory.

@codecrafter’s advice about reading the message log is the quickest way forward. If the host key is accepted and the log then says authentication failed, stop changing connection-mode settings and confirm that the account is authorized for SSH/SFTP. If login succeeds but uploads fail, check directory ownership, permissions, disk quota, and whether you were placed in a restricted home directory. Those are server-side account issues, not problems that reinstalling FileZilla will fix.

Saving the password in Site Manager is convenient, but it can expose the account to anyone who has access to that computer profile. If this is a shared or work machine, choose “Ask for password” instead of “Normal.” You can still save the host, port, protocol, and username without retaining the password.

For the connection itself, create a fresh Site Manager entry, select SFTP, enter only the server hostname or IP, and use the exact port provided. Then connect and compare the displayed host-key fingerprint with the provider’s published or support-confirmed fingerprint. As others said, reaching that prompt proves you contacted an SSH server, not necessarily the correct server and not that your credentials work.

After accepting a matching key, let FileZilla fail once and read the last log lines. Don’t start changing unrelated options. A timeout points toward routing, firewall, port, or allowlisting. A login rejection means you should confirm whether the provider expects the account password, a separate SFTP password, or a private key.

If your network blocks outbound port 22, everything in this thread is beside the point. Corporate and some ISP connections quietly drop SSH traffic on that port, so FileZilla will just sit there and time out even though your host, username, and password are all correct. Before you touch a single setting, try connecting from your phone hotspot. If it works there and fails on your normal network, the problem is on your side of the wire, not the server.

On the ‘leave the port blank’ tip from @codemaker9142, that’s fine when the host actually uses 22, but plenty of providers move SFTP to something like 2222 specifically to dodge bots hammering the default. Blank field then gives you a timeout that looks like a firewall issue when it’s really just the wrong port. If your account paperwork lists a port, type it in. Don’t assume.

The fingerprint caution is the one part of this thread I’d take dead seriously. Reaching that prompt only tells you something answered on that host and port. It could be your server, it could be something sitting in front of it. Match the fingerprint against what the provider published and you’re done worrying about it. After that, read the log like @codecrafter said. Authentication failed after a good key exchange is almost never a FileZilla problem.

CloudMounter came up earlier and it’s a reasonable thing if you’re on a Mac and hate opening a transfer client for every little edit, since it puts the SFTP share in Finder. Just don’t reach for it to diagnose a connection that won’t even establish. If FileZilla can’t get in, mounting the same server as a drive won’t magically fix a blocked port or a user that was never granted SSH access. Solve the connection first, then decide whether a mounted workflow is worth it.

Last thing people forget: a login can succeed and still land you in an almost empty folder because the host jailed that SFTP user to one directory. That’s not a bug and reinstalling nothing will change it. Ask the provider what path the account is chrooted to.

Use Site Manager for the first setup. Choose “SFTP - SSH File Transfer Protocol,” enter the hostname without sftp://, then use the exact port and login details your host supplied. The sftp:// prefix is mainly useful when typing the address into Quickconnect.

After it connects, FileZilla’s layout can be confusing: the left pane is your computer and the right pane is the hosting server. Upload by dragging files from left to right, and make sure you’re in the correct web folder before moving anything.