Thanks.
I have few more questions for this group.
As I told you that I have hostname, login/pass is
available. I need to make the connection and keep the
connection for a list of cmmands for execution
1. I got confused that whether it should be
Channel channel = session.openChannel("session");
Channel channel = session.openChannel("shell");
Channel channel = session.openChannel("exec");
????????????/
I like to make seperate disconnect() call once my work
is done.
2. Do I really need to Define a MyUserInfo class ?
3. I need to get the in, out, error Stream from the
socket connection. how ?
Regards
suj
--- "Conover, Simanti" <[EMAIL PROTECTED]> wrote:
> This is all I had to start out -
>
http://jsourcery.com/output/jcraft/jsch/0.1.23/index.html
>
> Good luck!
>
>
> Simanti Olive
> Eswitch Engineer III - Santa Cruz
> 831-4576154
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of sujata
> patra
> Sent: Wednesday, October 17, 2007 2:13 AM
> To: [email protected]
> Subject: [JSch-users] SSH connection using jsch
>
> Hi, I am strated writing code for a ssh connection
> to execute commands
> in the remote machine, where it will return back the
> the result over ssh
> connection.
>
> Existing code is using 3rd party library, which I
> like to replace with
> Jcraft/jsch.
>
> Problem I am facing , there is no doc, no guidence
> for start ups except
> some exmples for scp and sftp .
>
> Can I expect some pointers/ doc/ guidelines to start
> up this code ?
>
>
>
>
>
>
________________________________________________________________________
> ____________
> Be a better Heartthrob. Get better relationship
> answers from someone who
> knows. Yahoo! Answers - Check it out.
>
http://answers.yahoo.com/dir/?link=list&sid=396545433
>
>
------------------------------------------------------------------------
> -
> 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
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/jsch-users
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users