SFTP: Authentication failed

This forum is not monitored by the SmartFTP staff. To contact technical support see KB: How to request technical support.
allmoney.ws
Posts: 17
Joined: Wed Mar 26, 2008 11:03 am

SFTP: Authentication failed

Post by allmoney.ws » Mon Mar 31, 2008 2:22 pm

SmartFTP try to use FTP port (21), but I choose SFTP! Please, fix this bug.

[11:09:00] Resolving host name "myhostIP"
[11:09:00] Connecting to myhostIP Port: 21
[11:09:01] Client closed the connection.
[11:09:01] Connect failed. Waiting to retry (30s)...

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: SFTP: Authentication failed

Post by mb » Mon Mar 31, 2008 2:43 pm

Set the port to 22 in the settings and try again.

allmoney.ws
Posts: 17
Joined: Wed Mar 26, 2008 11:03 am

Re: SFTP: Authentication failed

Post by allmoney.ws » Mon Mar 31, 2008 3:39 pm

I think it must set automatically

allmoney.ws
Posts: 17
Joined: Wed Mar 26, 2008 11:03 am

Re: SFTP: Authentication failed

Post by allmoney.ws » Mon Mar 31, 2008 3:42 pm

Set port to 22, but other problem:

[19:40:49] SmartFTP v3.0.1012.0
[19:40:54] Resolving host name "MyIPhost"
[19:40:54] Connecting to MyIPhost Port: 22
[19:40:54] Starting SSH session. Remote Id: "SSH-2.0-OpenSSH_4.3p2 Debian-9"
[19:40:54] Initiating key exchange.
[19:40:54] Computing session key.
[19:40:54] Key Exchange Algorithm: diffie-hellman-group-exchange-sha1
[19:40:54] Key exchange completed.
[19:40:54] Host Key Algorithm: ssh-rsa
[19:40:54] Client to Server Encryption: aes256-ctr
[19:40:54] Server to Client Encryption: aes256-ctr
[19:40:54] Session HMAC: hmac-sha1
[19:40:54] Client to Server Compression: none
[19:40:54] Server to Client Compression: none
[19:40:54] Authentication request. Method: "none"
[19:40:54] Server supported authentications: publickey,password
[19:40:54] Authentication request. Method: "password"
[19:40:54] User authentication failed.
[19:40:54] Client closed the connection.
[19:40:54] Connect failed. Waiting to retry (30s)...

Password is correct. In WinSCP all is working correctly.

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: SFTP: Authentication failed

Post by mb » Tue Apr 01, 2008 2:47 am

Hello ..

SmartFTP has been tested with OpenSSH and it is working fine. The username/password entered is probably incorrect.

Does your username/password contain any special characters?

Regards,
SmartFTP
Last edited by mb on Tue Apr 01, 2008 3:42 am, edited 1 time in total.

allmoney.ws
Posts: 17
Joined: Wed Mar 26, 2008 11:03 am

Re: SFTP: Authentication failed

Post by allmoney.ws » Tue Apr 01, 2008 6:57 am

Yes, I have > in password

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: SFTP: Authentication failed

Post by mb » Tue Apr 01, 2008 7:32 am

Tested with
[03:31:53] Starting SSH session. Remote Id: "SSH-2.0-OpenSSH_4.6p1 Debian-3"

and works as expected.

Regards,
Mat

allmoney.ws
Posts: 17
Joined: Wed Mar 26, 2008 11:03 am

Re: SFTP: Authentication failed

Post by allmoney.ws » Fri Apr 04, 2008 8:48 pm

Test again in ver. 3.0.1012.6, same problem:

[00:45:32] SmartFTP v3.0.1012.6
[00:45:36] Resolving host name "XX.XX.XX.XX"
[00:45:36] Connecting to XX.XX.XX.XX Port: 22
[00:45:36] Starting SSH session. Remote Id: "SSH-2.0-OpenSSH_4.3p2 Debian-9"
[00:45:36] Initiating key exchange.
[00:45:38] Computing session key.
[00:45:38] Key Exchange Algorithm: diffie-hellman-group-exchange-sha1
[00:45:39] Key exchange completed.
[00:45:39] Host Key Algorithm: ssh-rsa
[00:45:39] Client to Server Encryption: aes256-ctr
[00:45:39] Server to Client Encryption: aes256-ctr
[00:45:39] Session HMAC: hmac-sha1
[00:45:39] Client to Server Compression: none
[00:45:39] Server to Client Compression: none
[00:45:39] Authentication request. Method: "none"
[00:45:39] Server supported authentications: publickey,password
[00:45:39] Authentication request. Method: "password"
[00:45:39] User authentication failed.
[00:45:39] Client closed the connection.
[00:45:39] Connect failed. Waiting to retry (30s)...

In WinSCP connected succesfully. Please, try again to locate bug. How can I help you to fix this bug?
Last edited by allmoney.ws on Fri Apr 04, 2008 8:50 pm, edited 1 time in total.

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: SFTP: Authentication failed

Post by mb » Fri Apr 04, 2008 9:07 pm

Update the server to the latest OpenSSH version and try again. I do not believe there is a bug with SmartFTP.

allmoney.ws
Posts: 17
Joined: Wed Mar 26, 2008 11:03 am

Re: SFTP: Authentication failed

Post by allmoney.ws » Wed Apr 09, 2008 9:01 pm

Test again. In WinSCP all is working OK! I connected. Test new version of SmartFTP 3.0.1012.15 - again same error

[00:57:14] SmartFTP v3.0.1012.15
[00:57:21] Resolving host name "x.x.x.x"
[00:57:21] Connecting to x.x.x.x Port: 22
[00:57:21] Starting SSH session. Remote Id: "SSH-2.0-OpenSSH_4.3p2 Debian-9"
[00:57:21] Initiating key exchange.
[00:57:23] Computing session key.
[00:57:23] Key Exchange Algorithm: diffie-hellman-group-exchange-sha1
[00:57:23] Key exchange completed.
[00:57:23] Host Key Algorithm: ssh-rsa
[00:57:23] Client to Server Encryption: aes256-ctr
[00:57:23] Server to Client Encryption: aes256-ctr
[00:57:23] Session HMAC: hmac-sha1
[00:57:23] Client to Server Compression: none
[00:57:23] Server to Client Compression: none
[00:57:23] Authentication request. Method: "none"
[00:57:23] Server supported authentications: publickey,password
[00:57:23] Authentication request. Method: "password"
[00:57:23] User authentication failed.
[00:57:23] Client closed the connection.
[00:57:24] Connect failed. Waiting to retry (30s)...

Post Reply