Comments (6)
You can use the "-x" option to pass other options to ssh. For example:
pssh -h file -i -x "-t" sudo blah
I hope this helps. Please reopen if this doesn't address the issue. Thanks for
participating with the pssh project.
Original comment by [email protected]
on 15 Oct 2013 at 8:28
- Changed state: Invalid
from parallel-ssh.
Great, I missed that one. Now it works but I get an tcgetattr error?
[1] 16:31:46 [FAILURE] cgagnon@hcq4pl1 Exited with error code 3
abrtd is stopped
Stderr: tcgetattr: Invalid argument
Connection to hcq4pl1 closed.
Which results in a failure of the attempt (even though it did actually work).
Could this relate to a similar problem ansible had?
https://github.com/ansible/ansible/issues/1662
https://github.com/ansible/ansible/commit/7192eb30477f8987836c075eece6e530eb9b07
f2
Thanks again.
Original comment by [email protected]
on 15 Oct 2013 at 8:37
from parallel-ssh.
Hmm. It looks like that could be related. The links include a possible fix, but
they don't explain why sudo seems to need a real pty.
It might make sense to add an option to allocate a pty, but I'll need to make
sure that this doesn't cause other side effects.
By the way, I'm hoping that you've set up "sudo blah" so that sudo doesn't ask
for your password.
I'll have to look at these issues and see if I can reproduce the issue. In the
meantime, you might consider setting up ssh keys for root. Anyway, thanks for
bringing this to my attention.
Original comment by [email protected]
on 15 Oct 2013 at 10:57
- Changed state: New
from parallel-ssh.
Original comment by [email protected]
on 15 Oct 2013 at 10:58
- Changed title: Sudo requires allocation of a real pseudoterminal
from parallel-ssh.
[deleted comment]
from parallel-ssh.
What's status for this issue?
I'm having this message for every host of my company (all Red Hat/CentOS boxes):
Stderr: tcgetattr: Invalid argument
Connection to myhost closed.
Not a real problem but this message is annoying and makes output less readable
Original comment by [email protected]
on 14 Jul 2015 at 10:09
from parallel-ssh.
Related Issues (20)
- API module to enable easier use of PSSH as a library (patch included)
- TypeError when using Input script
- Erorr Code 255
- Not allowing relative paths makes no sense HOT 3
- pslurp can't use rsync HOT 2
- Patch: pass -o SendEnv in a way that is friendly on Mac OS HOT 1
- How to distribute different files to different hosts? HOT 1
- motd being printed only on debian squeeze boxes HOT 4
- SIGINFO handler gives task status HOT 1
- Manpage name problem HOT 1
- Installation errors: "setup.py install" HOT 1
- pslurp multiple files HOT 1
- Bandwith limit with pscp (parallel scp) HOT 4
- Summary of failed and successful execution HOT 2
- Teardown code in test classes is never called
- IPv6 host address processing broken
- Allow '-' as an alias for stdin
- cannot parse for more than one -O/-o options; cannot use -i option
- Crash on Archlinux/Python3.4 when asking for password (Includes one line fix) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parallel-ssh.