We have a customer using your product and they are unable to connect to us using sftp. We use OpenSSH 3.9p1 and have had good luck with it up until now.
I was wondering if anyone could shed some light on why the SSHFTPClient is failing. Below is an excerpt from our customers log file.
Thanks,
Steve
Class: com.enterprisedt.net.ftp.ssh.SSHFTPClient
Version: 1.5.5
Build timestamp: 8-Nov-2007 09:58:12 EST
Java version: 1.5.0_14
DEBUG [com.enterprisedt.net.j2ssh.transport.publickey.SshPublicKeyFile] 10 Mar 2008 11:44:03.312 : Parsing public key file
DEBUG [com.enterprisedt.net.j2ssh.transport.publickey.SshPublicKeyFile] 10 Mar 2008 11:44:03.328 : Public key is not in the default format, attempting parse with other supported formats
DEBUG [com.enterprisedt.net.j2ssh.transport.publickey.SshPublicKeyFile] 10 Mar 2008 11:44:03.328 : Attempting SECSH-PublicKey-Base64Encoded
DEBUG [com.enterprisedt.net.j2ssh.transport.publickey.SshPublicKeyFile] 10 Mar 2008 11:44:03.328 : Attempting OpenSSH-PublicKey
DEBUG [AbstractKnownHostsKeyVerification] 10 Mar 2008 11:44:03.328 : Allowing interchange-stg.apl.com with fingerprint 1024: 4a 6a 5e 86 5f 52 80 10 35 9e 96 60 bd 3e 8b f5
DEBUG [AbstractKnownHostsKeyVerification] 10 Mar 2008 11:44:03.328 : putAllowedKey(host=interchange-stg.apl.com,algorithm=ssh-rsa)
WARN [AbstractKnownHostsKeyVerification] 10 Mar 2008 11:44:03.328 : Cannot write to known_hosts file as none supplied
INFO [SSHFTPClient] 10 Mar 2008 11:44:03.328 : SSHFTPClient settings validated.
DEBUG [SSHFTPClient] 10 Mar 2008 11:44:03.328 : Connecting to interchange-stg.apl.com:22
DEBUG [TransportProviderFactory] 10 Mar 2008 11:44:03.343 : Connecting to interchange-stg.apl.com:22 via standard socket
DEBUG [SocketTransportProvider] 10 Mar 2008 11:44:03.375 : Invoking connect with timeout=60000
INFO [TransportProtocolCommon] 10 Mar 2008 11:44:03.578 : Timeout=60000
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.578 : Starting transport protocol
INFO [TransportProtocolCommon] 10 Mar 2008 11:44:03.578 : Wait for state update timeout=60000
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.593 : Registering transport protocol messages with inputstream
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.609 : Negotiating protocol version
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.609 : Local identification: SSH-2.0-edtFTPjPRO-1.5.5
INFO [TransportProtocolCommon] 10 Mar 2008 11:44:03.609 : Wait for state update timeout=60000
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.703 : EOL is guessed at LF
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.703 : Remote identification: 'SSH-2.0-OpenSSH_3.9p1' <--- looks like we got connected OK
DEBUG [TransportProtocolCommon] 10 Mar 2008 11:44:03.718 : Protocol negotiation complete
ALL [TransportProtocolCommon] 10 Mar 2008 11:44:04.734 : Received registered message: Name=SSH_MSG_USERAUTH_FAILURE,MessageId=51,PartialSuccess=false,AvailableAuths=publickey,keyboard-interactive
2008/03/10 11:44:04 +0000 [DEBUG] - SVC_OrderMessage_ServiceProvider_APL_FtpUploader: [ConnectivityCheck] Could not establish connection. No connection has been established earlier. Cause: com.enterprisedt.net.ftp.ssh.SSHFTPClient.connect(Unknown Source): Could not authenticate SSH client: FAILED