Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the No, thanks Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ xCAT-user mailing list [email protected] It provides features such as sending input to all of the processes, passing a password to ssh, saving output to files, and timing out. Source
On linux this is done easily by which pssh - you may have aliased to something like pssh='pssh -h my_hosts_file_which_is_gone_now.txt' –Hamy Apr 9 '14 at 16:48 add a comment| up vote I saw someone do it once. https://lists.sourceforge.net/lists/listinfo/xcat-user Re: [xcat-user] Error when using psh command *** ssh exited with error code 255 From: Christopher Samuel
I am a little confused, if the error is that it cannot find the command to execute, why you are able to execute successfully. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 0 Star 0 Fork 0 datitran/parallel-ssh Code Issues 39 Pull requests 0 Projects Command still does what I need but spit this error for every node > in my node range. > > *** ssh exited with error code 255. > *** ssh exited Pssh With Key How do you say "you all" in Esperanto?
Disconnect immediately if you object to this policy or are not an authorized user. Parallel-ssh Example Watson-Haigh May 12 '14 at 2:50 add a comment| 3 Answers 3 active oldest votes up vote 4 down vote accepted Assuming that parallel-ssh and pssh are equivalent then yes what What kind of bugs do "goto" statements lead to? Host definitions can even behave like aliases if the HostName option is included.
The builtin wait command can also return 127 to indicate that it cannot locate process or job to wait upon. How do I replace and (&&) in a for loop? Pssh Error Codes See also the exit builtin command below. Pssh Error Code 127 The PSSH_HOST variable is assigned the name of the host as specified in the hosts list.
the patch in comment #1 would cause pssh to send a password as a response to a yes/no question, which would be bad. this contact form I can SSH into the box just fine (passless keys setup) REMOTE SCRIPT: MUSER='root' MPASS='123123' MHOST="127.0.0.1" VERBOSE=0 ### Set bins path ### GZIP=/bin/gzip MYSQL=/usr/bin/mysql MYSQLDUMP=/usr/bin/mysqldump RM=/bin/rm MKDIR=/bin/mkdir MYSQLADMIN=/usr/bin/mysqladmin GREP=/bin/grep ### Setup What kind of weapons could squirrels use? Join them; it only takes a minute: Sign up Where is hosts.txt that parallel-ssh uses up vote 0 down vote favorite this might sound silly but I'm really stuck here... Pssh Stricthostkeychecking=no
Hot Network Questions if (λ x . Try using the -v option to ssh, and, if you are putting ssh in the background, save STDERR to a file, via ssh -v ..... 2>sshlog.$$, then look at the sshlog.* then you can go: pssh -h c:\temp\hosts.txt or... have a peek here Extreme Value Theorem on Manifold Human vs apes: What advantages do humans have over apes?
Generating Pythagorean triples below an upper bound I have a new guy joining the group. Parallel-ssh Password The password is transferred in a fairly secure manner (e.g., it will not show up in argument lists). No need for the key's passphrase, keychain takes care of it $ parallel-ssh --hosts=machines --user=my_user --timeout=0 'sudo apt-get update' Original comment by [email protected] on 12 May 2014 at 5:40 Sign up
share|improve this answer answered Jul 11 '14 at 1:59 community wiki Wes Floyd add a comment| up vote 2 down vote If there's a problem with authentication or connection, such as If a command is not found, the child process created to execute it returns a status of 127. I want parallel-ssh to preform operations on multiple hosts and I know I have to put their IPs in file hosts.txt, but where is this fabled hosts.txt file? Check This Out Date: 01/06/2011 06:30 PM Subject: Re: [xcat-user] Error when using psh command *** ssh exited with error code 255 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/01/11 10:11, Andrei Vakhnin wrote:
Do these physical parameters seem plausible? Make sure correct path is set in $0." [ ! -x $MYSQLADMIN ] && die "File $MYSQLADMIN does not exists. The PSSH_NODENUM and PSSH_HOST environment variables are sent to the remote host. Because I keep getting this: IOError: [Errno 2] No such file or directory: 'hosts.txt' linux ssh share|improve this question asked Jan 24 '13 at 17:51 Pavol Hanzel 5035 add a comment|
Please contact the sender if you believe you have received this email in error. Password:  11:09:30 [FAILURE] server Exited with error code 255 Stderr: pssh-askpass received prompt: "Enter passphrase for key '/home/user/.ssh/id_rsa': " Enter passphrase for key '/home/user/.ssh/id_rsa': Permission denied (publickey,gssapi-with-mic). This shouldn't happen, as this condition is only used to determine whether to present a generic prompt or the actual prompt (from what I can tell).