Opened 16 years ago

Last modified 14 years ago

#597 closed Bug report

SFTP: Bad password message not meaningful

Reported by: anonymous Owned by:
Priority: normal Component: Other
Keywords: Cc: Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Hi,
when connecting to a sftp server (over ssh2), if you
submit an invalid password, the status message is really
not helpful.

Here's what it looks like :


Status: Connecting to 10.61.3.122:22 ...
Status: Connected with 10.61.3.122:22, initializing
SFTP connection...
Command: CONNECT der01ale@10.61.3.122:22
Error: FzSFtp.exe was closed, terminating connection.
Error: Unable to connect!
Status: Waiting to retry... (5 retries left)


There is no clear evidence that this was a password
problem. Here's what it looks like with debug on (with
the same wrong password) :
+++++++++++++++++++++++++++
Status: Connecting to 10.61.3.121:22 ...
Trace: FzSFtp.exe: FzSFtp started and initialized.
Trace: SftpControlSocket.cpp(2288): OnConnect(0)
caller=0x003af000
Status: Connected with 10.61.3.121:22, initializing
SFTP connection...
Command: CONNECT der01ale@10.61.3.121:22
Trace: FzSFtp.exe: Ssh.c(1949): Server version: SSH-
2.0-Sun_SSH_1.0
Trace: FzSFtp.exe: Ssh.c(1985): We claim version:
SSH-2.0-PuTTY-FZ-Local: Mar 21 2004 15:40:05
Trace: FzSFtp.exe: Ssh.c(1987): Using SSH protocol
version 2
Trace: SftpControlSocket.cpp(2570): OnReceive(0)
caller=0x003af000
Trace: FzSFtp.exe: Ssh.c(4244): Doing Diffie-Hellman
key exchange
Trace: SftpControlSocket.cpp(2570): OnReceive(0)
caller=0x003af000
Trace: FzSFtp.exe: Ssh.c(4301): Host key fingerprint
is:
Trace: FzSFtp.exe: Ssh.c(4302): ssh-rsa 1024
73:f3:02:7f:28:07:ef:90:b2:d1:d0:f0:f3:f5:53:e2
Trace: SftpControlSocket.cpp(2570): OnReceive(0)
caller=0x003af000
Trace: FzSFtp.exe: Ssh.c(675): Initialised AES-128
client->server encryption
Trace: FzSFtp.exe: Ssh.c(675): Initialised AES-128
server->client encryption
Trace: SftpControlSocket.cpp(2570): OnReceive(0)
caller=0x003af000
Trace: SftpControlSocket.cpp(2570): OnReceive(0)
caller=0x003af000
Trace: FzSFtp.exe: Ssh.c(5284): Sent password
Trace: SftpControlSocket.cpp(2570): OnReceive(0)
caller=0x003af000
Trace: FzSFtp.exe: Ssh.c(4751): Access denied
Trace: FzSFtp.exe: Ssh.c(5124): Unable to
authenticate
Trace: SftpControlSocket.cpp(2356): OnClientError
(1) caller=0x003af000
Error: FzSFtp.exe was closed, terminating connection.
Trace: SftpControlSocket.cpp(2376): DoClose(0)
caller=0x003af000
Trace: SftpControlSocket.cpp(2406): ResetOperation
(4100) caller=0x003af000
Error: Unable to connect!
Status: Waiting to retry... (5 retries left)
++++++++++++++++++++++++++++++++++

I also tested this with a plain FTP server, and the
message is really clear, so this seems to affect only sftp
over ssh2 connections.

_adery_ at _hotmail_ dot _com_

Change History (2)

comment:1 Changed 16 years ago by anonymous

Logged In: NO

Forgot to mention that I got this problem with both 2.2.3 and
2.2.5 running on Windows XP.

comment:2 Changed 14 years ago by Tim Kosse

This bug report has been closed due to inactivity and has possibly
already been solved.

You can reopen this report if the issue still exists in the
latest version of FileZilla (Server).

Note: See TracTickets for help on using tickets.