Questions tagged [parallel-ssh]

PSSH (parallel-ssh) is a tool to run SSH commands on multiple servers in parallel

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

How pssh do the ssh activities without password

the follwing pssh command do a parallel as date pssh -i -H "master01 master02 master03 worker01 worker02" -l root -x '-q -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o ...
0
votes
0answers
30 views

pssh + verify date between machines and alert if date difference is more then 3 second

we are using the following great pssh command in order to see if time differences is more then 3 second between machines pssh -i -o /tmp/out/ -e /tmp/err/ -H "master01 master02 master03 worker01 ...
0
votes
0answers
31 views

parallel-ssh not appears in any path after pip installation

we installed the parallel-ssh but after pip successfully installation the command parallel-ssh not appears in any path where we are wrong? locate parallel-ssh which parallel-ssh /usr/bin/which: ...
2
votes
2answers
7k views

number of ssh sessions allowed from a server

I will try to be very specific to the question, please pardon my language if not clear. Say i have a Unix system 'A', from where I want to ssh into some other servers in parallel and do some task. ...
2
votes
2answers
3k views

How to run sudo with parallel ssh

Linux: ubuntu 14.04.3 LTS cat /tmp/passfile ABCxyz123 sshpass -f /tmp/passfile parallel-ssh -I -A -h hostlist.txt "sudo -S ls -l /root" < /tmp/passfile and the method described here in google ...
1
vote
1answer
2k views

How to make parallel-ssh stop prompting for password?

I have passwordless ssh setup between the 2 machines. ssh doesn't prompt for password but pssh does. I cannot run commands which need data piped into pssh as the prompt messes with the input. How to ...
3
votes
2answers
3k views

pssh (Parallel-ssh) passing different parameter for every host

I have a file called hosts which looks as follow: host1 host2 host3 host4 ..... On these machines there is also a local user named as the machine name. host1 user is created on host1 host and so on....
2
votes
1answer
4k views

How to pass multiple commands via pssh and multiple xterms

I'm attempting to open multiple xterms and run a command as an SAP user via sudo using pssh. So far, I'm able to run PSSH to a file of servers with no check for keys, open every xterm in the servers ...
7
votes
3answers
16k views

parallel-ssh with Passphrase Protected SSH Key

I'd like to use my passphrase protected SSH key when performing tasks with parallel-ssh (and related tools). However, I can't get this to work. All the documentation, regarding parallel-ssh, show ...