Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force pseudo-tty allocation #44

Closed
GoogleCodeExporter opened this issue Sep 1, 2015 · 3 comments
Closed

Force pseudo-tty allocation #44

GoogleCodeExporter opened this issue Sep 1, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant