Issue Connect to SFTP over SSH

Hi,
I'm running the SmartFTP client v3.0.1035.0 on a Windows 2k3 Operating System and I'm having problems connect to a SFTP over SSH server. My client told me the following information about their Server.

"We use product : Sterling Secure Proxy and Gentran Integration Suite (4.3 Build 4321). Sterling Secure proxy is gateway from where all request pass inbound and received by Gentran Integration Suite. "

Here are the logs from SmartFTP

[21:23:50] SmartFTP v3.0.1035.0
[21:23:50] Resolving host name "server.test.com"
[21:23:50] Connecting to XXX.XXX.XXX.14 Port: 22
[21:23:51] SSH-2.0-Maverick_SSHD
[21:23:51] Starting SSH session. Remote Id: "SSH-2.0-Maverick_SSHD"
[21:23:51] SSH protocol version reply. Client Id: "SSH-2.0-SmartFTP"
[21:23:54] Computing session key.
[21:23:54] Key Exchange Algorithm: diffie-hellman-group-exchange-sha1
[21:23:54] Key exchange completed.
[21:23:54] Host Key Algorithm: ssh-rsa
[21:23:54] Client to Server Encryption: aes128-cbc
[21:23:54] Server to Client Encryption: aes128-cbc
[21:23:54] Session MAC: hmac-sha1
[21:23:54] Client to Server Compression: none
[21:23:54] Server to Client Compression: none
[21:23:55] Authentication request. Method: "password"
[21:24:28] User authentication successful.
[21:25:06] SSH session established.
[21:25:06] Connected to server.test.com.
[21:25:08] Client closed the connection.
[21:25:08] Connect failed. Waiting to retry (30s)

Below Are The Logs From Their Server
[2011-03-01 14:50:23.492] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canConnect(SA) remoteClient=[/XXX.XX.XXX.50:4166]
[2011-03-01 14:50:42.07] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canConnect(S) username=USERNAME
[2011-03-01 14:50:42.472] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canConnect(S) username=USERNAME
[2011-03-01 14:50:42.473] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAuthenticationProvider.logonUser(b[],S,S,SA) entered with user[USERNAME].
[2011-03-01 14:50:42.579] ALL 000000000000 GLOBAL_SCOPE AUDIT: User [USERNAME] authenticated via password.
[2011-03-01 14:50:42.579] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.getRequiredAuthentications(b[],S) string=USERNAME
[2011-03-01 14:50:43.077] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canOpenChannel(b[],S,C) username=USERNAMEchannel=[com.maverick.sshd.UnsupportedSession@79627962]
[2011-03-01 14:50:43.378] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canStartSubsystem(b[],S,S) username=USERNAME subsystem=sftp
[2011-03-01 14:50:43.378] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.MailboxSystemProvider() entered/exited.
[2011-03-01 14:50:43.378] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider entered with sessionid: [B@3da23da2
[2011-03-01 14:50:43.389] COMMTRACE 000000000000 GLOBAL_SCOPE user=[USERNAME], sessionId=[SCE_SFTP_SERVER_GO2_TL2_NODE2_12990198433781014:1154478], ip=[XXX.XX.XXX.50], event=[Logged in.]
[2011-03-01 14:50:43.389] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.init(Sid,SC,CC) exited.
[2011-03-01 14:50:44.283] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getRealPath(S) entered with path[.].
[2011-03-01 14:50:44.283] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getRealPath(S) returns [/].
[2011-03-01 14:50:44.283] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getFileAttributes(S) entered with path[/], cleaned path to be[/].
[2011-03-01 14:50:44.294] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getDirectoryOperation(S, entered with path[/].
[2011-03-01 14:50:44.294] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getDirectoryOperation(S, directory: /, file:
[2011-03-01 14:50:44.294] DEBUG 000000000000 GLOBAL_SCOPE ListProvider.openDirectory(S,S) entered with directoryName[/], userName[USERNAME].
[2011-03-01 14:50:44.299] DEBUG 000000000000 GLOBAL_SCOPE ListProvider.openDirectory(S,S) getting mailbox[/] abs: [/CSS/USERNAME].
[2011-03-01 14:50:44.303] DEBUG 000000000000 GLOBAL_SCOPE ListProvider.openDirectory(S,S) got mailbox[/CSS/USERNAME].
[2011-03-01 14:50:44.303] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getFileAttributes(S) checking rights to mailbox
[2011-03-01 14:50:44.31] DEBUG 000000000000 GLOBAL_SCOPE ProviderBase.hasRights(S,S,S) called with path [/CSS/USERNAME/], user [USERNAME], relRight 1, with fullpath=[/CSS/USERNAME] returning true
[2011-03-01 14:50:44.31] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.getFileAttributes(S) exited with [
Permissions: drwx------
Size: 1024
GID: 100
UID: 300
AccessedTime: 1299019844
ModifiedTime: 1299019844
Directory] for [/].
[2011-03-01 14:50:45.493] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.closeFilesystem() entered.
[2011-03-01 14:50:45.493] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.closeFailedAllOpen() entered.
[2011-03-01 14:50:45.494] COMMTRACE 000000000000 GLOBAL_SCOPE user=[USERNAME], sessionId=[SCE_SFTP_SERVER_GO2_TL2_NODE2_12990198433781014:1154478], ip=[XXX.XX.XXX.50], event=[Disconnected]
[2011-03-01 14:50:45.494] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.Listener.onChannelClose()
[2011-03-01 14:50:45.494] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.closeFilesystem() entered.
[2011-03-01 14:50:45.494] DEBUG 000000000000 GLOBAL_SCOPE MailboxSystemProvider.closeFilesystem() entered.
[2011-03-01 14:50:45.494] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAuthenticationProvider.logoffUser(b[],S,SA) entered with user[USERNAME].
[2011-03-01 14:50:45.494] ALL 000000000000 GLOBAL_SCOPE AUDIT: User [USERNAME] logged off.=

Still Failing...Any ideas?

[15:47:50] SmartFTP v4.0.1173.0
[15:47:50] Resolving host name "b2btst.sce.com"
[15:47:51] Connecting to XXX.XXX.XXX.XX Port: 22
[15:47:51] SSH-2.0-Maverick_SSHD
[15:47:51] Starting SSH session. Remote Id: "SSH-2.0-Maverick_SSHD"
[15:47:51] SSH protocol version reply. Client Id: SSH-2.0-SmartFTP
[15:47:53] Key Exchange Algorithm: diffie-hellman-group-exchange-sha1
[15:47:54] Key exchange completed.
[15:47:54] Host Key Algorithm: ssh-rsa
[15:47:54] Client to Server Encryption: aes128-cbc
[15:47:54] Server to Client Encryption: aes128-cbc
[15:47:54] Session MAC: hmac-sha1
[15:47:54] Client to Server Compression: none
[15:47:54] Server to Client Compression: none
[15:47:54] Requesting service "ssh-userauth".
[15:47:54] RTT: 419.334 ms
[15:47:54] Authentication request. Method: password
[15:48:28] User authentication successful.
[15:48:28] SSH session established.
[15:48:28] Connected to b2btst.sce.com.
[15:48:28] Detected Server Software: Maverick SSHD
[15:48:28] Opening channel 0.
[15:48:28] Channel successfully opened (Local=0, Remote=0).
[15:48:28] Requesting subystem "sftp" (Local=0, Remote=0).
[15:49:49] Sending FXP initialization. Protocol version=6.
[15:49:50] Closing channel (Local=0, Remote=0).
[15:49:50] SSH channel closed by client.
[15:49:50] Disconnecting.
[15:49:50] Client closed the connection.
[15:49:50] Connect failed. Waiting to retry (30s)..

- Do you have the latest version of Maverick SSHD installed on the server?
- Did you try it with another SFTP client?
- Can you provide a test account on the server?

Hi mb,

Keep in mind that the version of Maverick SSHD is installed on my clients server and I cannot make any changes on that end and I have to make a special request in order to get the logs from that side. I'm not sure about getting you a test account but I don't think that our client would allow you to get access to the server because there is overhead to allow another IP address access to it.

I downloaded a trial of f and successfully connected without any issue or special configuration.

I'm troubled because I specifically upgraded my license to the professional version in order to do SFTP over SSH but your product failed to connect to the server.

Do you have any other suggestions of what I should do from the client side or do you recommend that I purchase a license of your competitors software?

We have tested our product with Maverick SSHD and found no issues (in our product). My guess is that it's a interoperability issue and the problem is most likely in the Maverick SSHD product your customer has installed. We can offer you to debug it if you can provide a test account.

I'll let my client know what you have said and ask if it would be possible to give you a test account.

Try changing the Protocol Version to 5. You can find this under the SSH / SFTP section of the Properties dialog of the Favorites for your server connection.