jsch-users-request,您好!

        

======= 2011-12-02 13:41:29 您在来信中写道:=======

>Send JSch-users mailing list submissions to
>       [email protected]
>
>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: Executing Interactive commands using Jsch (Atsuhiko Yamanaka)
>   2. Re: Session.java is always using userauth.none
>      (richard -rw- weinberger)
>   3. Re: Session.java is always using userauth.none (Atsuhiko Yamanaka)
>   4. Re: Session.java is always using userauth.none
>      (richard -rw- weinberger)
>   5. Unable to connect to sftp after 18 attempts (Aanal Jhala)
>   6. Re: Unable to connect to sftp after 18 attempts (Aanal Jhala)
>   7. Multiple Commands (Erik Michel Giraldo Giraldo)
>   8. Re: Multiple Commands (Keith Alan Richardson)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 29 Nov 2011 18:26:02 +0900
>From: [email protected] (Atsuhiko Yamanaka)
>Subject: Re: [JSch-users] Executing Interactive commands using Jsch
>To: [email protected]
>Cc: [email protected]
>Message-ID: <[email protected]>
>
>Hi,
>
>   +-From: prakash babu <[email protected]> --
>   |_Date: Mon, 28 Nov 2011 12:19:17 +0530 (IST) ____
>   |
>   |This is also working perfectly fine, but for some instances,A (B
>   |the execution hangs, the reason being the input/password is being
>   |piped even before the pseudo terminal is launched and hence 
>   |the command is waiting infinitely for the password/input.
>
>You should wait for the prompt for password, and then send the password,
>as we needed to do in dial-up connections at the ancient days
>with ppp, slip, uucp, etc.
>
>   |How do I go about resolving this issue.
>
>If it is acceptable to use flags '-S' and '-p' options of sudo command,
>try
>  http://www.jcraft.com/jsch/examples/Sudo.java
>
>
>Sincerely,
>--
>Atsuhiko Yamanaka
>JCraft,Inc.
>1-14-20 HONCHO AOBA-KU,
>SENDAI, MIYAGI 980-0014 Japan.
>Tel +81-22-723-2150
>Skype callto://jcraft/
>Twitter: http://twitter.com/ymnk
>Facebook: http://facebook.com/aymnk
>
>
>
>------------------------------
>
>Message: 2
>Date: Tue, 29 Nov 2011 13:14:35 +0100
>From: richard -rw- weinberger <[email protected]>
>Subject: Re: [JSch-users] Session.java is always using userauth.none
>To: Atsuhiko Yamanaka <[email protected]>
>Cc: [email protected]
>Message-ID:
>       <CAFLxGvy=vx8YkgkYUFn_47EK3rDAS3-X+jMLgYQe7Z+MrPh=u...@mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Paul, Atsuhiko,
>
>Thanks for the clarification!
>
>On Tue, Nov 29, 2011 at 10:18 AM, Atsuhiko Yamanaka <[email protected]> wrote:
>> Try
>> ?http://www.jcraft.com/jsch/examples/Exec.java
>>
>
>This example works for me.
>
>But I'm really confused now.
>Why does my trivial program not work?
>See:
>http://paste.opensuse.org/view/raw/38335832
>
>The output is:
>---8<---
>promptYesNo: The authenticity of host 'localhost' can't be established.
>RSA key fingerprint is e9:da:52:8f:7d:21:d5:0a:f4:6f:c1:b8:e8:70:84:b7.
>Are you sure you want to continue connecting?
>com.jcraft.jsch.JSchException: Auth fail
>        at com.jcraft.jsch.Session.connect(Session.java:464)
>        at com.jcraft.jsch.Session.connect(Session.java:158)
>        at SshTest.<init>(SshTest.java:58)
>        at SshTest.main(SshTest.java:69)
>--->8---
>
>-- 
>Thanks,
>//richard
>
>
>
>------------------------------
>
>Message: 3
>Date: Tue, 29 Nov 2011 21:24:01 +0900
>From: [email protected] (Atsuhiko Yamanaka)
>Subject: Re: [JSch-users] Session.java is always using userauth.none
>To: [email protected]
>Cc: [email protected]
>Message-ID: <[email protected]>
>
>Hi,
>
>   +-From: richard -rw- weinberger <[email protected]> --
>   |_Date: Tue, 29 Nov 2011 13:14:35 +0100 _________________________
>   |
>    >> Try
>    >> ,A (Bhttp://www.jcraft.com/jsch/examples/Exec.java
>   |This example works for me.
>   |But I'm really confused now.
>   |Why does my trivial program not work?
>   |See: http://paste.opensuse.org/view/raw/38335832
>
>Your MyUI should also implement
>com.jcraft.jsch.UIKeyboardInteractive interface.
>
>
>Sincerely,
>--
>Atsuhiko Yamanaka
>JCraft,Inc.
>1-14-20 HONCHO AOBA-KU,
>SENDAI, MIYAGI 980-0014 Japan.
>Tel +81-22-723-2150
>Skype callto://jcraft/
>Twitter: http://twitter.com/ymnk
>Facebook: http://facebook.com/aymnk
>
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 29 Nov 2011 13:40:39 +0100
>From: richard -rw- weinberger <[email protected]>
>Subject: Re: [JSch-users] Session.java is always using userauth.none
>To: Atsuhiko Yamanaka <[email protected]>
>Cc: [email protected]
>Message-ID:
>       <caflxgvy53numyf+fz42asdv938cexn6lxgqyke1pdwvsh65...@mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8
>
>On Tue, Nov 29, 2011 at 1:24 PM, Atsuhiko Yamanaka <[email protected]> wrote:
>> Hi,
>>
>> ? +-From: richard -rw- weinberger <[email protected]> --
>> ? |_Date: Tue, 29 Nov 2011 13:14:35 +0100 _________________________
>> ? |
>> ? ?>> Try
>> ? ?>> ?,A http://www.jcraft.com/jsch/examples/Exec.java
>> ? |This example works for me.
>> ? |But I'm really confused now.
>> ? |Why does my trivial program not work?
>> ? |See: http://paste.opensuse.org/view/raw/38335832
>>
>> Your MyUI should also implement
>> com.jcraft.jsch.UIKeyboardInteractive interface.
>>
>
>Shame on me!
>I totally forget this...
>
>-- 
>Thanks,
>//richard
>
>
>
>------------------------------
>
>Message: 5
>Date: Thu, 1 Dec 2011 11:40:42 +0530
>From: Aanal Jhala <[email protected]>
>Subject: [JSch-users] Unable to connect to sftp after 18 attempts
>To: [email protected]
>Message-ID:
>       <CADwkubmTMsYNPFBk-J3BjOgk1-gbGiRqEdJ=k5Nin=FKKbK=b...@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi
>
>I am using JSCH version 0.1.40 to connect to an SFTP server. I am trying to
>retrieve around 30 files from SFTP server. Each time around 1 file is
>transferred, the client disconnects but an exception is thrown
>
>Caught an exception, leaving main loop due to socket closed
>
>After around 18 attempts, the server rejects the connection. After around 1
>hour I am again able to connect to the server
>
>Regards
>adj
>
>--
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>Message: 6
>Date: Thu, 1 Dec 2011 12:02:19 +0530
>From: Aanal Jhala <[email protected]>
>Subject: Re: [JSch-users] Unable to connect to sftp after 18 attempts
>To: [email protected]
>Message-ID:
>       <cadwkubkzpopemqq+j_nyqohber76fyuxlgymhvsem+bdu2q...@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Has anyone faced this issue before? COuld you please add your suggestions
>on this issue?
>
>On Thu, Dec 1, 2011 at 11:40 AM, Aanal Jhala <[email protected]> wrote:
>
>> Hi
>>
>> I am using JSCH version 0.1.40 to connect to an SFTP server. I am trying
>> to retrieve around 30 files from SFTP server. Each time around 1 file is
>> transferred, the client disconnects but an exception is thrown
>>
>> Caught an exception, leaving main loop due to socket closed
>>
>> After around 18 attempts, the server rejects the connection. After around
>> 1 hour I am again able to connect to the server
>>
>> Regards
>> adj
>>
>> --
>>
>>
>
>
>-- 
>Aanal Jhala
>Websphere Message Broker Group
>IBM India Software Labs
>Bangalore
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>Message: 7
>Date: Thu, 1 Dec 2011 15:41:09 -0500
>From: Erik Michel Giraldo Giraldo <[email protected]>
>Subject: [JSch-users] Multiple Commands
>To: [email protected]
>Message-ID:
>       <CAOG-4ZX1uvWVt9zZi1z=r+qps_hk8crtju589bupo-kupms...@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello,
>
>Right now I need to execute multiple commands in single session, it has to
>be executed in a Fortigate OS, it does not allow me to execute it with ";"
>between commands, so I need to execute them like you normally do. Something
>like this:
>
>root@localhost$ cd /var/log/
>root@localhost$ ls
>
>Which should return the files in log.
>
>Thanks for your great help.
>
>-- 
>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>Cordialmente;
>
>Erik Michel Giraldo Giraldo
>
>****Por favor considere su responsabilidad ambiental antes de imprimir este
>correo.****
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>Message: 8
>Date: Fri, 2 Dec 2011 07:41:20 +0200
>From: Keith Alan Richardson <[email protected]>
>Subject: Re: [JSch-users] Multiple Commands
>To: Erik Michel Giraldo Giraldo <[email protected]>
>Cc: [email protected]
>Message-ID:
>       <CA+P-Gf2D=msufwbmx8mdxm8luycamqtq3catcj9gylxgs7y...@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>One option if those are the only commands you need: ls /var/log
>
>On Dec 1, 2011 10:42 PM, "Erik Michel Giraldo Giraldo" <
>[email protected]> wrote:
>
>Hello,
>
>Right now I need to execute multiple commands in single session, it has to
>be executed in a Fortigate OS, it does not allow me to execute it with ";"
>between commands, so I need to execute them like you normally do. Something
>like this:
>
>root@localhost$ cd /var/log/
>root@localhost$ ls
>
>Which should return the files in log.
>
>Thanks for your great help.
>
>-- 
>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>Cordialmente;
>
>Erik Michel Giraldo Giraldo
>
>****Por favor considere su responsabilidad ambiental antes de imprimir este
>correo.****
>
>
>------------------------------------------------------------------------------
>All the data continuously generated in your IT infrastructure
>contains a definitive record of customers, application performance,
>security threats, fraudulent activity, and more. Splunk takes this
>data and makes sense of it. IT sense. And common sense.
>http://p.sf.net/sfu/splunk-novd2d
>_______________________________________________
>JSch-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jsch-users
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>------------------------------------------------------------------------------
>All the data continuously generated in your IT infrastructure 
>contains a definitive record of customers, application performance, 
>security threats, fraudulent activity, and more. Splunk takes this 
>data and makes sense of it. IT sense. And common sense.
>http://p.sf.net/sfu/splunk-novd2d
>
>------------------------------
>
>_______________________________________________
>JSch-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jsch-users
>
>
>End of JSch-users Digest, Vol 67, Issue 1
>*****************************************
>
>__________ Information from ESET NOD32 Antivirus, version of virus signature 
>database 6674 (20111201) __________
>
>The message was checked by ESET NOD32 Antivirus.
>
>http://www.eset.com
>
>
>

= = = = = = = = = = = = = = = = = = = =
                        

        致
礼!
 
                                 
        李强
        [email protected]
          2011-12-02

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to