SFTP - associate specific private key with host
Posted: 2010-10-22 12:18
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
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