Re: [JSch-users] jsch sftp without password
Status: Alpha
Brought to you by:
ymnk
From: karim a. <kar...@gm...> - 2006-02-21 08:05:15
|
Hi guys Thanks to Atsuhiko, we succeeded to make it work Most of the problems were because we were new with SSH and some other problems related to our design. That could be great if we could have a small FAQ or any other tutorial on Jsch in order not to waste your time. The API is great and tremendeously helped us and havig such reactive support in case of trouble is simply great. Thanks once again regards Karim - Ericsson France On 2/21/06, Vijay Shah <vij...@gm...> wrote: > > Hey Karim, > > Make sure the authorized_keys file has just read permission only for > user/group and others. Otherwise the public key auth does not work. > > Regards > Vijay > > > On 2/18/06, Atsuhiko Yamanaka <ym...@jc...> wrote: > > Hi, > > > > +-From: "karim aklouche" <kar...@gm...> -- > > |_Date: Sat, 18 Feb 2006 00:47:22 +0100 ______________ > > | > > |I'm in trouble and really running out of time so I would appreciate > all the > > |help you could provide me with > > > > Please refer to examples/UserAuthPubKey.java . > > > > JSch jsch=3Dnew JSch(); > > //jsch.addIdentity("absolute path of private key"); > > jsch.addIdentity("/home/user1/.ssh/id_rsa"); > > Session session=3Djsch.getSession(user, host, 22); > > ... > > > > > > Sincerely, > > -- > > Atsuhiko Yamanaka > > JCraft,Inc. > > 4-1 OHMACHI 1-CHOME AOBA-KU, > > SENDAI, MIYAGI 980-0804 Japan. > > Tel +81-22-723-2150 > > +1-415-578-3454 > > Fax +81-22-224-8773 > > Skype callto://jcraft/ > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > > _______________________________________________ > > JSch-users mailing list > > JSc...@li... > > https://lists.sourceforge.net/lists/listinfo/jsch-users > > > |