Li Li
2015-01-13 13:41:57 UTC
I want to visit serverA which can only accessed by clientB from my pc
at home. I can setup a java web server(such as tomcat) on port 8080
and providing http serice which can be accessed by my pc at home. But
I can't run sshd on clientB. Is it possible to use jsch to implement
such service? I mean I write a simple jsp which read user input from
web browser and send the command to serverA, And when command finish
on severA, it read the output and write to browser.
Or more elegant, I can directly run ssh serverA with the help of
clientB through http protocol?
at home. I can setup a java web server(such as tomcat) on port 8080
and providing http serice which can be accessed by my pc at home. But
I can't run sshd on clientB. Is it possible to use jsch to implement
such service? I mean I write a simple jsp which read user input from
web browser and send the command to serverA, And when command finish
on severA, it read the output and write to browser.
Or more elegant, I can directly run ssh serverA with the help of
clientB through http protocol?