SFTP and multiple ssh keys -- Problem

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
wborrelli
500 Command not understood
Posts: 1
Joined: 2008-10-17 15:26
First name: William
Last name: Borrelli

SFTP and multiple ssh keys -- Problem

#1 Post by wborrelli » 2008-10-17 15:53

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"
:arrow: 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 :lol:


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"
:arrow: 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
:cry:


#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.

Post Reply