Hello,

I came across the jsch product a couple of days ago. I have certain
questions on the functionality of this product. I tried to go thru the
code and get the answers, but couldn't find them. I'd really appreciate
if anyone could let me know.

I intend to put the class files under source on a unix machine and then
use the Shell.java under examples to run it. Say, I am using a jsp
hosted on a webserver on the same unix box to invoke the Shell.java 

My questions are:
1. I am accessing the jsp page from a local windows client machine - My
requirement is that I need to be able to login to the unixbox by using a
public key on the unixbox(by ssh to itself) and that public key
shouldn't be saved on the windows machine client whatsoever when I use
jsch. I am able to login perfectly to the unix box using jsch, but, is
there a way to ensure that the public key is not downloaded on the
windows client machine and the connection happens from there to the unix
box? Where is the code for that? In fact, I want to ensure that mindterm
is looking for the key on the unixbox rather than on the windows client
machine) 

2. In my case(where the classfiles is on my unix box and the frontend
jsp is running on a windows client machine) , will jsch be doing an ssh
from the client computer to the unix box, or is it making the unix box
do an ssh to itself and just displaying the results using the jsp?

A little background:  there is an application on my unixbox which can be
accessed only by a certain functional account which requires a public
key. What I am trying to do is that I need a web application which lets
any user directly access the application thru a web page without needing
to have a public key on their respective client machines. My assumption
is that if I have a java code that is running on a webserver on the unix
box running as the functional account, anyone would be able to access
the application as the functional account by accessing the URL for the
java/jsp page on the webserver on the unixbox. Will jsch help me to
accomplish this somehow?

Any help would be appreciated. Please let me know if you have any
Questions.

Thanks in Advance,
Presley.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to