Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] ssh -D port host - programmatically

Hello, 

I’m trying to create a connection that essentially does 

ssh -D port user@host

What is the appropriate way to do this?

The way I’m trying to do it now is to grab the IRemoteConnection programmatically, cast it to a JSchConnection and invoke one of the IRemotePortForwardingService methods. Is this the correct way to go? 

Thanks for your help in advance!

Alex McCaskey
Oak Ridge National Laboratory
Computer Science and Mathematics

Back to the top