I am trying to connect to a Connect:Enterprise server using SFTP with edtFTPj/PRO using the following script:
set loglevel=5
set remotehost=ft.test.pbs.dk
set port=10022
set user=<removed>
set certpassword=<removed>
set clientcert=/nordija/eclipse-workspace/partnerConnect/resources/etc/profiles/pbs/pbs-test.rsa
set protocol=sftp
set logfile=/tmp/pbs-test.log
open
dir
quit
I have supplied the EDT logfile and debug from a corresponding sftp command line session (without dir and quit)
Could anyone please have a look at this?
My log file look like:
DEBUG [CryptixProperties] 28 May 2008 14:38:02.717 : Successfully loaded the CryptixEDT properties file
INFO [puretls] 28 May 2008 14:38:02.744 : PureTLS debug level=0
DEBUG [com.enterprisedt.net.j2ssh.transport.cipher.SshCipherFactory] 28 May 2008 14:38:02.747 : Loading supported cipher algorithms
DEBUG [SshKeyExchangeFactory] 28 May 2008 14:38:02.754 : Loading key exchange methods
DEBUG [SshKeyExchangeFactory] 28 May 2008 14:38:02.758 : The default key exchange is not set! using first in list
DEBUG [com.enterprisedt.net.j2ssh.transport.publickey.SshKeyPairFactory] 28 May 2008 14:38:02.760 : Loading public key algorithms
DEBUG [ConfigurationLoader] 28 May 2008 14:38:02.775 : Security provider 0: SUN
DEBUG [ConfigurationLoader] 28 May 2008 14:38:02.775 : Security provider 1: SunJSSE
DEBUG [ConfigurationLoader] 28 May 2008 14:38:02.775 : Security provider 2: SunRsaSign
DEBUG [ConfigurationLoader] 28 May 2008 14:38:02.775 : Security provider 3: SunJCE
DEBUG [ConfigurationLoader] 28 May 2008 14:38:02.776 : Security provider 4: SunJGSS
DEBUG [ConfigurationLoader] 28 May 2008 14:38:02.776 : Security provider 5: CryptixEDT
DEBUG [com.enterprisedt.net.j2ssh.transport.publickey.SshKeyPairFactory] 28 May 2008 14:38:02.776 : The default public key is not set! using first in list
DEBUG [SshCompressionFactory] 28 May 2008 14:38:02.777 : Loading compression methods
DEBUG [SshCompressionFactory] 28 May 2008 14:38:02.777 : Installed none compression
DEBUG [SshCompressionFactory] 28 May 2008 14:38:02.779 : Installed zlib compression
DEBUG [SshHmacFactory] 28 May 2008 14:38:02.780 : Loading message authentication methods
INFO [LicensePropertiesBase] 28 May 2008 14:38:02.793 : Licence expiry date: 01 Jul 2008
INFO [LicensePropertiesBase] 28 May 2008 14:38:02.793 : Trial licence
DEBUG [SCPClient] 28 May 2008 14:38:02.793 : Class: com.enterprisedt.net.ftp.ssh.SSHFTPClient
Version: 1.5.7
Build timestamp: 3-Apr-2008 09:50:29 EST
Java version: 1.4.2_16
CLASSPATH: /nordija/java/edtftpj-pro-1.5.7/lib/edtftpj-pro.jar:/nordija/java/edtftpj-pro-1.5.7/lib/license.jar
OS name: Linux
OS arch: i386
OS version: 2.6.24-16-generic
DEBUG [SSHFTPClient] 28 May 2008 14:38:02.805 : Created SFTP client.
INFO [SCPClient] 28 May 2008 14:38:02.810 : SCPClient settings validated.
DEBUG [SCPClient] 28 May 2008 14:38:02.810 : Connecting to ft.test.pbs.dk:10022
DEBUG [TransportProviderFactory] 28 May 2008 14:38:02.816 : Connecting to ft.test.pbs.dk:10022 via standard socket
DEBUG [SocketTransportProvider] 28 May 2008 14:38:02.843 : Timeout == 0
INFO [TransportProtocolCommon] 28 May 2008 14:38:02.867 : Timeout=0
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.867 : Starting transport protocol
INFO [TransportProtocolCommon] 28 May 2008 14:38:02.869 : Wait for state update timeout=0
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.869 : Registering transport protocol messages with inputstream
INFO [cryptix] 28 May 2008 14:38:02.884 : GLOBAL_TRACE=false
INFO [cryptix] 28 May 2008 14:38:02.884 : GLOBAL_DEBUG=false
INFO [cryptix] 28 May 2008 14:38:02.884 : GLOBAL_DEBUG_SLOW=false
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.884 : Negotiating protocol version
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.884 : Local identification: SSH-2.0-edtFTPjPRO-1.5.7
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.885 : EOL is guessed at LF
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.885 : Remote identification: 'SSH-2.0-Connect:Enterprise_UNIX_2.4.02'
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.885 : Protocol negotiation complete
ALL [TransportProtocolCommon] 28 May 2008 14:38:02.885 : Name=SSH_MSG_KEX_INIT,MessageId=20
Supported Kex diffie-hellman-group1-sha1
Supported Public Keys ssh-dss,ssh-rsa
Supported Encryption Client->Server 3des-cbc,aes128-cbc,aes256-cbc,blowfish-cbc,aes192-cbc
Supported Encryption Server->Client 3des-cbc,aes128-cbc,aes256-cbc,blowfish-cbc,aes192-cbc
Supported Mac Client->Server hmac-sha1,hmac-md5-96,hmac-md5,hmac-sha1-96
Supported Mac Server->Client hmac-sha1,hmac-md5-96,hmac-md5,hmac-sha1-96
Supported Compression Client->Server none,zlib
Supported Compression Server->Client none,zlib
Supported Languages Client->Server
Supported Languages Server->Client
First Kex Packet Follows [FALSE]
INFO [TransportProtocolCommon] 28 May 2008 14:38:02.886 : Wait for state update timeout=0
DEBUG [SshMsgKexInit] 28 May 2008 14:38:02.893 : Packetlength=420, Paddinglength=7
ALL [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Received registered message: Name=SSH_MSG_KEX_INIT,MessageId=20
Supported Kex diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
Supported Public Keys ssh-dss
Supported Encryption Client->Server aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
Supported Encryption Server->Client aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
Supported Mac Client->Server hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
Supported Mac Server->Client hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
Supported Compression Client->Server none,zlib
Supported Compression Server->Client none,zlib
Supported Languages Client->Server
Supported Languages Server->Client
First Kex Packet Follows [FALSE]
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Received remote key exchange init message
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Starting key exchange
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Determine Algorithm
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Client Algorithms: [diffie-hellman-group1-sha1]
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Server Algorithms: [diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1]
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.893 : Returning diffie-hellman-group1-sha1
DEBUG [TransportProtocolCommon] 28 May 2008 14:38:02.894 : Key exchange algorithm: diffie-hellman-group1-sha1
INFO [DhGroup1Sha1] 28 May 2008 14:38:02.894 : Starting client side key exchange.
ALL [TransportProtocolCommon] 28 May 2008 14:38:02.948 : Name=SSH_MSG_KEXDH_INIT,MessageId=30,e=15280388399234001652514737489005714236724366980369132040491684485930297035799727985716103495435276269973629042861179782609044706129320784584897586523602711583618641343728815628266379924292985381902036768116514607271379425582716336089416288011951547917616455622957193450192091738245885775641191121837020247232
ALL [TransportProtocolCommon] 28 May 2008 14:38:03.48 : Received unregistered message: Name=SSH_MSG_KEXDH_REPLY,MessageId=31
ALL [DhGroup1Sha1] 28 May 2008 14:38:03.48 : Name=SSH_MSG_KEXDH_REPLY,MessageId=31
DEBUG [DhGroup1Sha1] 28 May 2008 14:38:03.75 : calculateExchangeHash()
DEB