Comments (8)
Would you please give some more detail about "Create appservers.hosts with
hostnames or comments"? Would you perhaps attach a file to make it clear what
is expected? Thank you.
Original comment by [email protected]
on 18 Oct 2010 at 4:04
from parallel-ssh.
Hello,
Shortly, I cant use comments in host file. My host file is like that:
server_ip #server name as comment
But pssh gave bad line error with this host file. I think comments are
important.
And second thing is these:
I cant use hostname with pssh altough I set /etc/hosts files. For example:
pssh -H server00 df -h
This command returned these:
[1] 11:16:01 [FAILURE] server00 Exited with error code 255
Original comment by [email protected]
on 18 Oct 2010 at 4:16
from parallel-ssh.
Thanks for the clarification. I agree that being able to add comment lines in
the hosts file would be a helpful feature.
For your second issue, I would recommend running "pssh -H server00 -i -v df
-h", which will give a little more verbose output. If this isn't enough to
solve the problem, and if there still appears to be a problem with pssh, then
please open a separate ticket for this issue.
Thank you for submitting this feature request.
Original comment by [email protected]
on 18 Oct 2010 at 7:07
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from parallel-ssh.
Original comment by [email protected]
on 18 Oct 2010 at 7:08
- Changed title: Add the ability to treat the # sign as a comment in host files
from parallel-ssh.
I will try verbose mode. Thanks.
Original comment by [email protected]
on 18 Oct 2010 at 7:34
from parallel-ssh.
[deleted comment]
from parallel-ssh.
So, I finally got a chance to look at this issue in detail, and it looks like
the '#' for comments was always supposed to work, but there was a bug. I've
fixed this (commit 8fbad23). Thanks for bringing this up, and please report
any further problems you come across.
Original comment by [email protected]
on 10 Jan 2011 at 2:34
- Changed state: Fixed
- Added labels: Type-Defect
- Removed labels: Type-Enhancement
from parallel-ssh.
Thanks a lot this is an important thing for huge networks :)
Original comment by [email protected]
on 10 Jan 2011 at 2:43
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
- 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.