Hi,

   +-From: Conrad =?iso-8859-1?q?Berh=F6rster?= <[EMAIL PROTECTED]> --
   |_Date: Tue, 11 Sep 2007 10:31:39 +0200 ______________________
   |
   |Do you have any idea, why that protocol works with the TM example, 
   |but not with mine? 

May I ask you to run following chunk of code before invoking
Session#connect()?

  java.security.Provider[] providers=java.security.Security.getProviders();
  for(int i=0; i<providers.length; i++){
    System.out.println(providers[i].getName());
  }

I have remembered the similar problem,
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=175058
and I guess that your plug-in may install the JCE provider dynamically.

   |Is there some sample code, how i can obtain a comand like ssh -i 
   |   <path_to_public_key> <hostname> with jsch

As Martin has suggested you, IJSchService.createSession() will automatically
check the private keys specified at SSH2 Preference page and you don't have
to take care about them.


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
Fax +81-22-224-8773
Skype callto://jcraft/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to