Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Have same issue on AIX box running openssh with latest pssh: pssh-2.3-1

[root@host:] pssh -H server -t 10 -i "uptime"
[1] 09:46:49 [SUCCESS] server
  09:46AM   up 29 days,  14:34,  2 users,  load average: 0.38, 0.41, 0.45


[root@host:] pssh -H server -t 10 --inline-stdout -I         
uptime
[1] 09:47:27 [SUCCESS] server
****************************************************************************
*       Welcome to AIX version 6.1!                        *
****************************************************************************
[YOU HAVE NEW MAIL]
  09:47AM   up 29 days,  14:35,  2 users,  load average: 0.54, 0.46, 0.46




Original comment by [email protected] on 18 Jul 2013 at 7:51

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
The motd is probably caused by something in the /etc/ssh/sshd_config file. 
That's my guess, anyway. I'm sure that pssh isn't creating it, so it's 
definitely something in ssh.

Original comment by [email protected] on 18 Jul 2013 at 4:45

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Thanks for the answer, you are right the PrintMotd option is the problem.
On the current environment I am unable to disable that. 

Is there any possibility to create a option that would create a .hushlogin file 
before the interactive connection? 

I don't want to create a .hushlogin file permanently just for a run of some 
scripts / checks. 

E.g. 

pssh -I --hush would first run in -i checking if there is a ~/.hushlogin and 
generating ~/.hushlogin file if not (preferably with some note that it was done 
from pssh) after that it would run in the -I option, on the end it would go 
again to -i and removing the ~/.hushlogin files that it generated. 


Original comment by [email protected] on 19 Jul 2013 at 8:36

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
I think that's really outside the scope of what pssh can or should do.

One other idea you might try is to add the following options to pssh: -x "-T"

This will make pssh pass the "-T" option to ssh, which might possibly help 
(though I'm really not sure).

Original comment by [email protected] on 19 Jul 2013 at 4:26

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.