Comments (4)
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.
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.
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.
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)
- 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
- SIGINFO handler gives task status HOT 1
- Manpage name problem HOT 1
- Sudo requires allocation of a real pseudoterminal HOT 6
- 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.