Page 1 of 1

Multiple Public keys for one SFTP account?

Posted: Wed Feb 13, 2013 10:25 pm
by bigcolwell
Hello,

I searched the forums and could not turn up this particular scenario apologies if already posted.

Wondering if its possible in WingFTP to setup multiple valid public keys with one FTP account when using Limit>SSH public key path option. Note I am using password less SSH. I had been working around this previously by creating a new ID for each server that needs to access (then just point to the same location). However as this grows it will become more difficult plus this client would like to use the same ID to simplify their scripts across dev, test and prod environments.

I have tried appending the public key file (paste in the second key below the first) but the first server connects no problem the second gives "Public key authentication failed."

Note I am running WingFTP server 4.1.3

Re: Multiple Public keys for one SFTP account?

Posted: Mon Feb 18, 2013 12:41 pm
by FTP
Not possible, one user one password, or one user one SSH public key.

Re: Multiple Public keys for one SFTP account?

Posted: Mon Jan 02, 2023 1:11 am
by hadaoo
Improvement - Now SFTP server supports multiple ssh key authentication attempts.
It is treated as a kind of "authorized_keys". You can insert multiple public keys.

Re: Multiple Public keys for one SFTP account?

Posted: Tue Jan 03, 2023 4:21 am
by FTP
Yes, WingFTP supports multiple SSH public keys in one file, you can combine multiple public keys into a single file:

---- BEGIN SSH2 PUBLIC KEY ----
xxxxx...
---- END SSH2 PUBLIC KEY ----
---- BEGIN SSH2 PUBLIC KEY ----
xxxxx...
---- END SSH2 PUBLIC KEY ----
---- BEGIN SSH2 PUBLIC KEY ----
xxxxx...
---- END SSH2 PUBLIC KEY ----