Page 1 of 2

Filezilla (MacOS) and Keagent support

Posted: 2019-06-19 10:57
by azfar
I am using Keagent (Keypassxc) to store my keys and this is working flawlessly with MacOS terminal but Filezilla is not making use if it? I remember on Windows its used to be working but on MacOS its not.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-06-19 13:54
by botg
Make sure it is configured as session-wide or even system-wide SSH agent.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-06-20 11:35
by azfar
Its is for sure system wide as the Transmit is working fine with it.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-06-20 17:16
by botg
Which version of FileZilla are you using?

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-06-27 22:04
by azfar
I am using the latest version now and somehow its working fine now without any other change in my knowledge!

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-06-27 22:20
by botg
I am using the latest version now
Which is? No offense, but there have been cases where people thought a decade-old version has been the latest one.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-06-28 01:42
by boco
Cuirrently, the actual latest one is 3.43.0.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-01 12:22
by azfar
I narrowed down the issue to SSH "IdentityFile" config. When I am setting "MaxAuthTries" to '1' I can SSH the host with the specific pinned key but Filezilla is still pushing all keys one by one hence failing to login due to max retry failure.

Is there something we can do?

BTW my version is 3.43.0

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 06:29
by botg
A limit of one is insane. Please consider the recommendation given in the SSH specifications:
RFC 4252 wrote:Additionally, the implementation SHOULD limit the number of failed authentication attempts a client may perform in a single session (the RECOMMENDED limit is 20 attempts).

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 06:36
by azfar
botg wrote:
2019-07-02 06:29
A limit of one is insane. Please consider the recommendation given in the SSH specifications:
RFC 4252 wrote:Additionally, the implementation SHOULD limit the number of failed authentication attempts a client may perform in a single session (the RECOMMENDED limit is 20 attempts).
The reason is I have multiple dozens of servers to manage and I have to keep the login process faster and I also have IDS/IPS which blocks the intruding IP after X no of failed attempts too but this is not related to those things as as per my observation Filezilla is probably not compatible with SSH Agent IdentiyFile as its always trying all keys.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 07:27
by botg
Why do you have more than one key? Multiple keys do not increase security.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 13:01
by azfar
:D those are different clients production servers and ssh is exposed to world. If I use same key for all that in case of the key leak all servers will be in danger.

Its a multi customers and multi users (employees) infrastructure so there are many other security complications as well.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 16:16
by boco
If it's pure key authentication you can specify each server's key directly in its Site Manager entry. I guess it doesn't work that way if the server needs key + password.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 18:13
by azfar
I have passphrase on all keys.

Re: Filezilla (MacOS) and Keagent support

Posted: 2019-07-02 18:16
by botg
If you configure the password-protected key in FileZilla, then FileZilla will prompt for the key file password if needed.