You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we use overthere to execute remote commands on a unix machine over a ssh jumpstation.
We used version 4.2.1 so far and anything is ok.
Now we updated overthere to version 4.4.1 and saw the connectiontype "TUNNEL" is deprecated.
So we modified our code according to documentation but we get a Exception like:
Unkown connection protocol ssh-jumpstation.
Hello at all,
we use overthere to execute remote commands on a unix machine over a ssh jumpstation.
We used version 4.2.1 so far and anything is ok.
Now we updated overthere to version 4.4.1 and saw the connectiontype "TUNNEL" is deprecated.
So we modified our code according to documentation but we get a Exception like:
Unkown connection protocol ssh-jumpstation.
Here is our code:
`ConnectionOptions options = new ConnectionOptions();
options.set(ConnectionOptions.ADDRESS, #HOST#);
options.set(ConnectionOptions.USERNAME, #USERNAME#);
options.set(ConnectionOptions.OPERATING_SYSTEM, OperatingSystemFamily.UNIX);
options.set(SshConnectionBuilder.PRIVATE_KEY, #SSHKEY#);
options.set(SshConnectionBuilder.CONNECTION_TYPE, SshConnectionType.SCP);
if (#USEJUMPSTATION#)
{
ConnectionOptions options2 = new ConnectionOptions();
options2.set(ConnectionOptions.ADDRESS, #ADDRESS#);
options2.set(ConnectionOptions.USERNAME, #JUMPSTATIONUSERNAME#);
options2.set(ConnectionOptions.PASSWORD, #JUMPSTATIONPASSWORD#);
options2.set(ConnectionOptions.OPERATING_SYSTEM, OperatingSystemFamily.UNIX);
options.set(ConnectionOptions.JUMPSTATION, options2);
}
OverthereConnection connection = Overthere.getConnection(SshConnectionBuilder.SSH_PROTOCOL, options);`
The text was updated successfully, but these errors were encountered: