Hi So my local machine is running
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 And the remote machine is running OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006 So both machines are running openSSH. Is there a specific way to generate the keys? On 7 Sep 2011, at 01:48, Atsuhiko Yamanaka wrote: > Hi, > > +-From: Ben Cuthbert <[email protected]> -- > |_Date: Tue, 6 Sep 2011 10:57:12 +0100 ________ > | > |Is the auth failed due to key errors. > |I can login from my terminal to the remote server okay > |using the private key. > > If you have gotten such an error with > http://www.jcraft.com/jsch/examples/UserAuthPubKey.java > please check the format of your private key. > JSch only supports private keys in OpenSSH format. > > > Sincerely, > -- > Atsuhiko Yamanaka > JCraft,Inc. > 1-14-20 HONCHO AOBA-KU, > SENDAI, MIYAGI 980-0014 Japan. > Tel +81-22-723-2150 > +1-415-578-3454 > Skype callto://jcraft/ ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
