pssh / parallel-ssh

PSSH provides parallel versions of OpenSSH and related tools. Included are pssh, pscp, prsync, pnuke, and pslurp. The project includes psshlib which can be used within custom applications.
Other
7 stars 1 forks source link

Force pseudo-tty allocation #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ssh allows to pass -t flags to force tty allocation. pssh seems to lack this 
functionality as a result its is rather hard to use pssh for invoking certain 
commands which require tty. Primarily sudo.

As a work around I've added a --tty flag to pssh which in turn calls ssh with 
-t -t. However this is rather inelegant. I was wondering if anyone else has a 
better solution for this problem. pssh does provide a -o flag but ssh does not 
seem to have a -o option equivalent to -t. 

Original issue reported on code.google.com by ilya@sukhanov.net on 1 Mar 2011 at 1:57

GoogleCodeExporter commented 9 years ago
The "-x" option is probably what you want.  It lets you pass any arbitrary 
option to ssh.

Original comment by amcna...@gmail.com on 1 Mar 2011 at 2:37

GoogleCodeExporter commented 9 years ago
I was reading an outdate man page. Thanks for hint, works as advertised.

Original comment by ilya@sukhanov.net on 1 Mar 2011 at 1:52

GoogleCodeExporter commented 9 years ago
Great.  I'm glad it worked.  Feel free to reopen if you have any problems.

Original comment by amcna...@gmail.com on 1 Mar 2011 at 3:47