Howdy, when using private keys and SFTP, am unclear on how FZ figures out which key to use for a particular host.
This is on 3.3.4.1 for Mac
I understand adding in keys via the Connection/SFTP tab, and the first site which was set up works fine. In this case am using keys without passphrases.
However, according to the connection log each subsequent site defined in the Site Manager is using the first key that was loaded. That of course results in a denied connection (exitcode 127 is being reported).
As the SFTP section does allow one to import multiple private keys, it would seem there should be an entry in the Site Manager to define which key to use, especially as some of the hosts connect with the same user name.
Any pointers would be most appreciated.
Cheers!
--
Carl
SFTP - associate specific private key with host
Moderator: Project members
Re: SFTP - associate specific private key with host
Unfortunately not currently possible.
-
- 504 Command not implemented
- Posts: 6
- Joined: 2010-10-22 12:01
- First name: Carl
- Last name: Pearson
Re: SFTP - associate specific private key with host
Now on 3.4.0, I actually can log into multiple clients, but am limited to a half-dozen or so. Problem seems to be the remote server bombing out from FZ trying the keys one at a time until it finds the one that works.
Sure, with root access to all the servers I touch, I could just reconfigure SSHD to allow more tries, but that's not practical. Using SSH_AUTH_SOCK doesn't help because that's just designed for storing passwords, so FZ still cycles through all the keys until it finds the one it likes (so that method doesn't really do anything for passwordless private keys), causing the server to again bomb out from multiple tries.
Hate to use a different app (Quack), FZ has been very good. Someone suggested Mozilla's plugin, but it doesn't appear to deal with passwordless keys. This really is a killer. It shouldn't be that hard for the app to allow explicit use of a particular key per connection.
But since it hasn't been fixed, there must be something else going on. Just curious, what's the complication?
Sure, with root access to all the servers I touch, I could just reconfigure SSHD to allow more tries, but that's not practical. Using SSH_AUTH_SOCK doesn't help because that's just designed for storing passwords, so FZ still cycles through all the keys until it finds the one it likes (so that method doesn't really do anything for passwordless private keys), causing the server to again bomb out from multiple tries.
Hate to use a different app (Quack), FZ has been very good. Someone suggested Mozilla's plugin, but it doesn't appear to deal with passwordless keys. This really is a killer. It shouldn't be that hard for the app to allow explicit use of a particular key per connection.
But since it hasn't been fixed, there must be something else going on. Just curious, what's the complication?
-
- 504 Command not implemented
- Posts: 6
- Joined: 2010-10-22 12:01
- First name: Carl
- Last name: Pearson
Re: SFTP - associate specific private key with host
Of course, one *could* just add another key to the authorized keys file for each login, and just use one private key. That's fairly insecue, though...
- abbasuddin
- 500 Command not understood
- Posts: 1
- Joined: 2017-01-06 13:52
- First name: Abbas
- Last name: Uddin
- Location: Dhaka, Bangladesh
Re: SFTP - associate specific private key with host
Filezilla version 3.23 the latest version has a feature on site manager to load your private key-file.botg wrote:Unfortunately not currently possible.
It's the proper way to login without password for specified server.
Cheers!
- Attachments
-
- Site manager preview
- site-manager.JPG (84.32 KiB) Viewed 3652 times
Growing up everyday.
Coding for next...
Coding for next...
Re: SFTP - associate specific private key with host
I guess they will know already. The topic is nearly 6 years old.
Closed due to thread necromancing.
Closed due to thread necromancing.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org