SFTP Public Key Authentication throwing exception.

Pravin Latti pravin.latti at gmail.com
Tue Jun 20 00:27:20 MEST 2006


Hi,

I am trying to do a SFTP (Public Key authentication) under the UNIX
environment. Using the mindterm.jar for SFTP and am getting the following
exception.

com.line.ifr.exceptions.KException: cannot connect to the remote host
 NYK Reference Number: 1150500555145
 Date: Fri Jun 16 16:29:15 PDT 2006
 connectString: SFPK://sftp:sftp@203.924.123.29:22 (added by
SmartBehavior.connect:99)
caused by: java.lang.NullPointerException
 at com.mindbright.ssh2.SSH2SFTPClient.restart(SSH2SFTPClient.java:275)
 at com.mindbright.ssh2.SSH2SFTPClient.<init>(SSH2SFTPClient.java:227)
 at com.line.delivery.system.ftp.SFTPConnection.connect(SFTPConnection.java
:96)
 ... 6 more
nested in: com.line.ifr.exceptions.KException: SFTP login failed
 ticket: SFPK://sftp:sftp@203.924.123.29:22 (added by
SFTPConnection.constructException:288)
 remoteDir:  (added by SFTPConnection.constructException:289)
 at com.line.delivery.system.ftp.SFTPConnection.constructException(
SFTPConnection.java:287)
 at com.line.delivery.system.ftp.SFTPConnection.connect(SFTPConnection.java
:109)
 at com.line.delivery.system.portal.SmartBehavior.connect(SmartBehavior.java
:94)
 ... 5 more
nested in: com.nykline.ifr.exceptions.KException: cannot connect to the
remote host
 at com.line.delivery.system.portal.SmartBehavior.connect(SmartBehavior.java
:98)
 at com.line.delivery.system.portal.SmartBehavior.connectReceiver(
SmartBehavior.java:75)
 at com.line.delivery.system.portal.PollingDaemon.execute(PollingDaemon.java
:258)
 at com.line.ifr.system.servicemgmt.IFRManagedService.run(
IFRManagedService.java:217)
 at java.util.TimerThread.mainLoop(Timer.java:432)
 at java.util.TimerThread.run(Timer.java:382)
ftp.cvt.inttra.com disconnected: -1
intstage.gtnexus.com disconnected: -1
203.194.253.29 disconnected: -1
java.lang.ArrayIndexOutOfBoundsException: 16
 at com.mindbright.security.cipher.BlockCipher.nboIncr(BlockCipher.java:242)
 at com.mindbright.security.cipher.BlockCipher.internalDoFinalCTR(
BlockCipher.java:201)
 at com.mindbright.security.cipher.BlockCipher.engineDoFinal(
BlockCipher.java:69)
 at com.mindbright.jce.crypto.Cipher.doFinal(Cipher.java:77)
 at com.mindbright.ssh2.SSH2TransportPDU.writeTo(SSH2TransportPDU.java:364)
 at com.mindbright.ssh2.SSH2Transport.transportTransmitLoop(
SSH2Transport.java:1353)
 at com.mindbright.ssh2.SSH2Transport.access$100(SSH2Transport.java:84)
 at com.mindbright.ssh2.SSH2Transport$1.run(SSH2Transport.java:369)

I have provided the private key file for the connection. Also this works
sometimes and throws an exception at times.

Any help will be appreciated.

Thanks in advance.
Pravin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mindterm.appgate.com/pipermail/mindterm-users/attachments/20060619/45d027f3/attachment.htm


More information about the Mindterm-users mailing list