Timeline for How to run sudo with parallel ssh
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 25, 2021 at 15:04 | comment | added | Chris Smith | @PatrickTaylor will give that a try | |
Jul 24, 2021 at 23:08 | comment | added | Patrick Taylor | Since the OP asked about parallel ssh in particular: some versions of pssh can be used with -X -tt to allow sudo to work if virt terminal is required. I have used this with significant success although I will point out that redirections after a sudo command do not receive the rights escalation. $ sudo -X -tt -h somefile "sudo <do something>" will run 'do something' on all servers listed in "somefile". | |
Jul 23, 2021 at 22:27 | history | edited | Chris Smith | CC BY-SA 4.0 |
added 128 characters in body
|
Jul 23, 2021 at 22:21 | history | edited | Chris Smith | CC BY-SA 4.0 |
added 128 characters in body
|
Jul 23, 2021 at 22:20 | review | First posts | |||
Jul 24, 2021 at 23:08 | |||||
Jul 23, 2021 at 22:15 | history | answered | Chris Smith | CC BY-SA 4.0 |