> From: <[EMAIL PROTECTED]>
> Reply-To: <jsch-users@lists.sourceforge.net>
> Date: Fri, 31 Aug 2007 02:54:41 -0700
> To: <jsch-users@lists.sourceforge.net>
> Subject: JSch-users Digest, Vol 15, Issue 5
>
> Send JSch-users mailing list submissions to
> jsch-users@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/jsch-users
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JSch-users digest..."
>
>
> Today's Topics:
>
> 1. Re: multi-stage sftp tunnelling (Atsuhiko Yamanaka)
> 2. Re: JSch not playing well with WinSSHd (Atsuhiko Yamanaka)
> 3. ANNOUNCE: JSch 0.1.34 (Atsuhiko Yamanaka)
> 4. Worth watching shopping site. (www.qqywj.com)
> 5. Problem with publickey authentication in Eclipse (Andrew Kerr)
> 6. Re: Problem with publickey authentication in Eclipse (Andrew Kerr)
> 7. Cheaper outstanding projects. (www.qqywj.com)
> 8. Re: Problem with publickey authentication in Eclipse (Andrew Kerr)
> 9. NoSuchAlgorithmException in ssh (Conrad Berh?rster)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Aug 2007 16:03:15 +0900
> From: [EMAIL PROTECTED] (Atsuhiko Yamanaka)
> Subject: Re: [JSch-users] multi-stage sftp tunnelling
> To: [EMAIL PROTECTED]
> Cc: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
>
> Hi,
>
> +-From: Andre Charbonneau <[EMAIL PROTECTED]> --
> |_Date: Fri, 24 Aug 2007 13:39:56 -0400 _______________________
> |
> |system (or gateway system as I often call it). For example:
> |User's Desktop -----------> middle.system -------------> remote.system
> |What I do for ssh is that I connect to the middle system and then create
> |a ssh tunnel from the user's desktop to the remote system. This works
> well.
> ...
> | Has someone managed to implement something like
> |this before and could maybe give me some pointers on how to do this?
>
> Session session1=jsch.getSession(user1, "middle.system");
> ...
> session1.connect();
> int assinged_port=session1.setPortForwardingL(0, "remote.system", 22);
>
> Session session2=jsch.getSession(user2, "127.0.0.1", assinged_port);
> ...
> session2.connect();
>
> Channel channel=session2.openChannel("sftp");
> channel.connect();
> ChannelSftp c=(ChannelSftp)channel;
>
>
> 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/
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Aug 2007 16:25:38 +0900
> From: [EMAIL PROTECTED] (Atsuhiko Yamanaka)
> Subject: Re: [JSch-users] JSch not playing well with WinSSHd
> To: [EMAIL PROTECTED]
> Cc: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
>
> Hi,
>
> As Martin have replied, there have been already many wheels;
> pure java Terminal emulators, and jsch do not have to parse ASNI escape codes
> internally.
>
> I'll reply from the other point of view.
>
> +-From: "Cody Harris" <[EMAIL PROTECTED]> --
> |_Date: Fri, 24 Aug 2007 10:02:35 -0400 _____
> |
> |aren't being detected by the terminal. I have a feeling that's do to some
> |Java convention, or something to do with Unicode. There's codes for a lot
> |of stuff, like move to an absolute position on the screen, and move the
> |cursor up, down, left, or right so many positions.
> |I was able to hack together inside Channel.java a fix for this issue,
> |but it breaks (non existant) compatibility with linux Curses apps.
>
> I guess that your problem have come from the mismatch for the terminal type
> and its geometry.
> By the default, jsch's shell-channel will request "vt100" terminal with 80x24.
> You can control this behavior with the following methods,
> ShellChannel#setPtyType(String ttype)
> ShellChannel#setPtySize(int col, int row, int wp, int hp)
>
> Of course, DSDP-TM's terminal and JCTerm have been using those methods.
>
>
> 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/
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 29 Aug 2007 17:01:08 +0900
> From: [EMAIL PROTECTED] (Atsuhiko Yamanaka)
> Subject: [JSch-users] ANNOUNCE: JSch 0.1.34
> To: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
>
> Hi there,
>
> JSch 0.1.34 has been released.
> It is available at
> http://prdownloads.sourceforge.net/jsch/jsch-0.1.34.zip?download
> and its md5sum is 22a26426c9546bfa16fbb272ad0876d1
> And you can get its byte code in jar file format at
> http://prdownloads.sourceforge.net/jsch/jsch-0.1.34.jar?download
> and its md5sum is 6a6d4d1788819f7876a8ebede765578a .
>
> Changes since version 0.1.33:
> - bugfix: there had a possibility that the session may be broken
> if ciphers for upward/downward streams are different. FIXED.
> - bugfix: the authentication method "keyboard-interactive" had
> not been tried without UserInfo. FIXED.
> - bugfix: ChannelShell#setTerminalMode(byte[] terminal_mode) had
> not been functional. FIXED.
> - bugfix: the remote port-forwarding to the daemon had been broken
> since 0.1.30. FIXED.
> - feature: ChannelExec can control the size of pty;
> ChannelExec#setPtySize(int col, int row, int wp, int hp) is
> added.
> - feature: the property "CheckCiphers" has been added.
> Refer to 'examples/AES.java'.
> - feature: Session#setConfig(String key, String value),
> JSch#setConfig(String key, String value) have been added.
> - change: the cipher "aes128-cbc" will be used if AES is available.
> - change: the interface 'com.jcraft.jsch.ForwardedTCPIPDaemon' has been
> changed.
> - change: the data transfer rate will be improved on some environment.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 29 Aug 2007 16:34:58 +0800
> From: www.qqywj.com <[EMAIL PROTECTED]>
> Subject: [JSch-users] Worth watching shopping site.
> To: <jsch-users@lists.sourceforge.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="windows-1252"
>
> <Dear friends,
> Sorry to bother you.We are a large-scale merchandise wholesaler in China,
> Our merchandise such as,Tv,notebooks,phones,psp,projectors,motorcycles,musical
> instruments ect.Our products are in good quality,but low price,it will
> interest you.At the same time,we can supple you the direct and quick
> service.we are legal sellers.
> Our website is : http://www.qqywj.com
> MSN: [EMAIL PROTECTED]
> Email: [EMAIL PROTECTED]
> skype: qqywj1
> TEL: +86 15938829425
> If you think we are excellent, please contact us.We will serve for you will
> all our effort.>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 5
> Date: Wed, 29 Aug 2007 16:53:57 -0400
> From: Andrew Kerr <[EMAIL PROTECTED]>
> Subject: [JSch-users] Problem with publickey authentication in Eclipse
> To: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi there,
>
> I am having trouble getting the UserAuthPubKey example running in
> Eclipse. I am using Eclipse 3.2.2 and Jsch 0.1.34.
>
> I am getting a ClassNotFoundException for
> com/sun/crypto/provider/DESedeKeyFactory. I am using J2SE 1.6.0_02, but
> for some reason, the sunjce_provider.jar file isn't getting loaded. I
> don't have any fancy settings, and I'm not clear why this class can't be
> found.
>
> Are there any classloader issues in Eclipse?
>
> Thanks,
> Andrew
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 29 Aug 2007 18:13:31 -0400
> From: Andrew Kerr <[EMAIL PROTECTED]>
> Subject: Re: [JSch-users] Problem with publickey authentication in
> Eclipse
> To: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Actually, this problem occurs using the standalone JDK, not just in Eclipse.
>
> Any ideas would be most appreciated. The jar is where it's supposed to
> be in the lib/ext directory, so I'm really puzzled.
>
> Thanks,
> Andrew
>
> Andrew Kerr wrote:
>> Hi there,
>>
>> I am having trouble getting the UserAuthPubKey example running in
>> Eclipse. I am using Eclipse 3.2.2 and Jsch 0.1.34.
>>
>> I am getting a ClassNotFoundException for
>> com/sun/crypto/provider/DESedeKeyFactory. I am using J2SE 1.6.0_02, but
>> for some reason, the sunjce_provider.jar file isn't getting loaded. I
>> don't have any fancy settings, and I'm not clear why this class can't be
>> found.
>>
>> Are there any classloader issues in Eclipse?
>>
>> Thanks,
>> Andrew
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> JSch-users mailing list
>> JSch-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jsch-users
>
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 30 Aug 2007 16:32:15 +0800
> From: www.qqywj.com <[EMAIL PROTECTED]>
> Subject: [JSch-users] Cheaper outstanding projects.
> To: <jsch-users@lists.sourceforge.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="windows-1252"
>
> <Dear friends,
> Sorry to bother you.We are a large-scale merchandise wholesaler in China,
> Our merchandise such as,Tv,notebooks,phones,psp,projectors,motorcycles,musical
> instruments ect.Our products are in good quality,but low price,it will
> interest you.At the same time,we can supple you the direct and quick
> service.we are legal sellers.
> Our website is : http://www.qqywj.com
> MSN: [EMAIL PROTECTED]
> Email: [EMAIL PROTECTED]
> skype: qqywj1
> TEL: +86 15938829425
> If you think we are excellent, please contact us.We will serve for you will
> all our effort.>=
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 8
> Date: Thu, 30 Aug 2007 08:07:19 -0400
> From: Andrew Kerr <[EMAIL PROTECTED]>
> Subject: Re: [JSch-users] Problem with publickey authentication in
> Eclipse
> To: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Please ignore, the problem was on the server I was connecting to.
>
> Andrew Kerr wrote:
>> Hi there,
>>
>> I am having trouble getting the UserAuthPubKey example running in
>> Eclipse. I am using Eclipse 3.2.2 and Jsch 0.1.34.
>>
>> I am getting a ClassNotFoundException for
>> com/sun/crypto/provider/DESedeKeyFactory. I am using J2SE 1.6.0_02, but
>> for some reason, the sunjce_provider.jar file isn't getting loaded. I
>> don't have any fancy settings, and I'm not clear why this class can't be
>> found.
>>
>> Are there any classloader issues in Eclipse?
>>
>> Thanks,
>> Andrew
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> JSch-users mailing list
>> JSch-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jsch-users
>>
>
>
>
> ------------------------------
>
> Message: 9
> Date: Fri, 31 Aug 2007 11:54:13 +0200
> From: Conrad Berh?rster <[EMAIL PROTECTED]>
> Subject: [JSch-users] NoSuchAlgorithmException in ssh
> To: jsch-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>
> i try to establish an ssh Connection on a remote maschine
> there is the rsa key.
> my code looks like this
>
> try{
> JSch jsch=new JSch();
>
> String passphrase = "way/to/the/rsa_id";
> jsch.addIdentity(passphrase );
>
> String user="root";
> String host="10.0.0.104";
>
> Session session=jsch.getSession(user, host, 22);
>
> // username and passphrase will be given via UserInfo interface.
> UserInfo ui=new MyUserInfo(null, user, "");
> session.setUserInfo(ui);
>
> try {
> session.connect(); // making connection with timeout.
> } catch (JSchException ex)
> {
> System.out.println("sshConnection : " + ex.getMessage());
> }
>
> Channel channel=session.openChannel("shell");
>
> channel.setInputStream(System.in);
> channel.setOutputStream(System.out);
>
> channel.connect();
> }
> catch(Exception e){
> System.out.println(e);
> }
>
> This is from the sch examples. But the output is
>
> java.security.NoSuchAlgorithmException: DESede/CBC/NoPadding: DESede
> sshConnection : java.security.NoSuchAlgorithmException: HmacMD5
>
> I use this code from eclipse
> While Connecting , a Warning with
> The authenticy of host 10.0.0.104 can't be established. RSA key fingerprint is
> ....
> will be shown
>
>
> What i am missing? Any hints
>
> thanks c~
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
> ------------------------------
>
> _______________________________________________
> JSch-users mailing list
> JSch-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jsch-users
>
>
> End of JSch-users Digest, Vol 15, Issue 5
> *****************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users