Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024

Original comment by [email protected] on 15 Oct 2013 at 10:58

  • Changed title: Sudo requires allocation of a real pseudoterminal

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
[deleted comment]

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.