Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to follow the instructions here for OSX

I can successfully ssh to the target server with no username/password (OSX picks up my certificates from the ~/.ssh directory), but I have no idea how to get Filezilla to do the same.

I have tried just running ssh-agent which doesn't do much.

share|improve this question
By "FTP over SSH", did you mean SFTP, or real old FTP tunnelled over SSH? – grawity May 8 '11 at 23:23
Did you follow the Windows part of the tutorial, or the single sentence relating to other platforms? – Daniel Beck May 9 '11 at 4:59
@Daniel Beck, "other platforms"... @grawity, I mean SFTP, not FTP tunnelled over SSH. – Dan Rosenstark May 9 '11 at 12:59
Do you get any output in the Terminal when you type printenv SSH_AUTH_SOCK? – William Jackson May 9 '11 at 13:32
@William Jackson: /tmp/launch-xi2Fu5/Listeners – Dan Rosenstark May 9 '11 at 22:01
up vote 14 down vote accepted

You can now use FileZilla -> Preferences -> Connection -> SFTP which will allow you to import your private key.

share|improve this answer
Command-Shift-G and enter: ~/.ssh to go to your .ssh directory – Phani Jul 9 '14 at 0:14
(translating from my language) "~/.ssh/id_rsa is not in a supported format. Additionally it's password protected. Filezilla doesn't support password protected keys yet. Do you want to convert the file to the supported unprotected format?" No, thanks... – Halil Özgür Aug 2 '14 at 23:30

Recent versions of OSX have the ssh-agent built-in and there is no need to start it separately.

In my case I simply had to change the logon type to "interactive" in the sites settings in FileZilla and choose SFTP as the protocol.

FileZilla apparently talks with the ssh-agent and handles the authentication. This is better than importing the key to FileZilla, since this way you can keep the file password protected.

share|improve this answer

Both instructions on this page tell 3/4 of the story:

Yar is correct: you only have to go to the SFTP settings page to enter your SSH key (which I had to format as a putty key with a .ppk extension - FileZilla will format a normal ssh private key for you if you let it).

ddd is correct that you have to put your login into "Normal" mode (but you still also need the key entered on the SFTP settings).

But there is one more thing you have to have in your settings - you must allow FileZilla to save passwords. This is in the Preferences -> Interface: If you check the box that says "Do Not Save Passwords" you will not be permitted to use Normal mode, and then your ssh won't be utilized - you will be prompted for a password.

So, do all three steps:

  1. Import SSH Key on the SFTP settings page.
  2. Do not check the box that says "Do Not Save Passwords" (i.e., allow saving passwords)
  3. Use Normal mode in the General tab of the server profile settings.

Good luck!

share|improve this answer

For Mac Filezilla:

Top Menu: Filezilla -> Settings -> Connection/FTP/SFTP

Click Add keyfile to import the ppk file (there are a lot of pem to ppk converter if you only have pem private key)

share|improve this answer

You have to put your server first in the server manager. Provide the IP/domain and username, and ensure the login type is set to "normal" then press login.

If you have a working SSH connection to this IP everything will be fine!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.