marcepunk / ganymed-ssh-2

Automatically exported from code.google.com/p/ganymed-ssh-2
Other
0 stars 0 forks source link

Enforce -t -t when connecting to a ssh server #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We had a query related to the usage of ganymed API’s. In the below code 
snippet once the authentication to ssh server is 
done(some_user,some_password,some_sshServer) ,the below steps are done
connection.openSession(); 
session.requestPTY("xterm");  
session.execCommand(“some command”);

Is this equivalent to doing ssh as below

    ssh –t –t some_user@some_sshServer  “some_command”

If this does not result in addition of –t –t , then what other steps needs 
to be followed?

Ganymed release:ganymed-ssh2-build210.zip

Original issue reported on code.google.com by patgar.s...@gmail.com on 19 May 2014 at 5:28