I am in an environment where I create sftp accounts for many people, and I also need to test them before I send the person the keys that have been created.
Using FileZilla or pagent, if one has more than 6 keys loaded, any key 7 and up does not work.
Examples:
Status: Connecting to sftp1.kodak.com:22...
Response: fzSftp started
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\inetsftp.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sft10001.prv.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sf4keys\sfr4ss.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\l2240dst.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\l2240boa.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\inetrw2.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\flexo08.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\inetro2.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\cdg360.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sftprtest.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sec4pb.ppk"
Command: open "inetrw2@sftperver.com" 22
Status: Connected to sftp1.kodak.com
Response: fzSftp started
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\inetsftp.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sft10001.prv.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sf4keys\sfr4ss.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\l2240dst.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\l2240boa.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\inetrw2.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\flexo08.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\inetro2.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\cdg360.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sftprtest.ppk"
Command: keyfile "C:\DATA\USERS\l471494\sshhostkeys\sec4pb.ppk"
Command: open "flexo08@sftpserver.com" 22
Error: Server sent disconnect message
Error: type 2 (protocol error):
Error: "Too many authentication failures for flexo08"
Error: Could not connect to server
#MaxAuthTries 6 is the default setting for sshd_config of the sftp server which would indicate why the first 6 work and it fails at #7.
When will there be a Site config setting that says "use this key with this username" to make this type of problem go away. Or is there a setting somewhere?
In this type of support situation I am sure more and more people will start running into this.
Thanks.
SFTP and multiple ssh keys -- Problem
Moderator: Project members