Hello JSch Users,

I want the SSH library to connect (create input / output streams) to the
remote machine and prompt me for a password.

This is because, in the production environment, there are a lot of security
checks that kick in and hence I need to provide encrypted password, or
something similar to a public key to login successfully to the machine.

However, since I cannot know that before hand, if I am able to read
"Password:" from the stream; I will provide a password else I will provide
the encrypted data.

Hope I am being clear here.

Is there some way in which I can do this using Jsch ? I would be very happy
if I can break the atomic connect() method to prompt me for password before
successfully connecting.

Any help in this regard is appreciated.

Regards,

Prasad Shindikar
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to