How to associate a keyfile with a site in FileZilla

8,646

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, menu EditPreferencesSFTP, as you did. Or make sure the key is in your ssh-agent before starting FileZilla (ssh-add -l should list the key).

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

Share:
8,646

Related videos on Youtube

loremIpsum1771
Author by

loremIpsum1771

Updated on September 18, 2022

Comments

  • loremIpsum1771
    loremIpsum1771 over 1 year

    Initially, I had a problem with creating a site within FileZilla as I needed to use a private key to log in to the server, but there wasn't any option listed for logging in with a keyfile. As per this answer I was able to add a keyfile, but I 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?

    • Abbas
      Abbas over 7 years
      Latest FileZilla has feature to specify Key-File for each site entry. Please follow this FileZilla Forum
    • Nash
      Nash over 5 years
      You will probaby have to convert the open ssh key to .ppk with putty-tools first.
  • loremIpsum1771
    loremIpsum1771 over 8 years
    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
    loremIpsum1771 over 8 years
    It seems to be working now