2

Initially, I had a problem with creating a site within filezilla as I needed to use a private key to login to the server but there was no option listed for logging in with a keyfile. As per this answer I was able to add a keyfile but noticed that the site that I created originally hadn't been saved. When I went to create another site, I figured that I just needed to use "normal" as the authentication type, but after selecting "ok", the type changed to "ask for password" for some reason.

The problem is that I don't have the keyfile associated with that site, even though the keyfile is stored in the system so when I log back in, it still asks me for my password. Given that I'm having to retroactively add the keyfile, how can I associate the keyfile with each site that I create?

  • Latest FileZilla has feature to specify Key-File for each site entry. Please follow this FileZilla Forum – Abbas Jan 6 '17 at 14:47
  • You will probaby have to convert the open ssh key to .ppk with putty-tools first. – Nash Aug 30 '18 at 9:27
4

Sorry, the previously mentioned is not true. I was too naive that things can work out together.

In Filezilla you have to add the key using, Edit -> Preferences -> SFTP, as you did. Or make sure the key is in your ssh-agent before starting the filezilla (ssh-add -l should list the key).

You account in Site Manager has to have Normal logon type with empty password and the key should be tried automatically.

  • I added the config file in the \.ssh directory and then back in the site manager in filezilla I selected "Interactive" as the logon type, as that one was the option where a password prompt wasn't required. After selecting "connect", it seems to have connected to the server; however, I'm not sure if the keyfile was even used for authentication How can I tell if the keyfile was used? – loremIpsum1771 Nov 23 '15 at 0:57
  • It seems to be working now – loremIpsum1771 Nov 27 '15 at 21:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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