Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • 3
    For our Ubuntu 18.04 network, I had to add -x '-tt'; otherwise this was perfect. Commented Jun 6, 2019 at 19:20
  • What does -tt do? I haven't seen this in the manual page (man parallel-ssh on Debian, Ubuntu). The -x option provides SSH connection arguments. A single "string" of arguments to SSH can also be provided with -X.
    – AdamKalisz
    Commented Jun 10, 2019 at 21:31
  • 2
    -x '-tt' instructs pssh to send the -tt parameter to ssh, where it forces a pseudo-terminal allocation. This was necessary to get ssh to receive the password. Commented Jun 10, 2019 at 23:08
  • 1
    The problem is if you have echo $PASS it will be visible for someone running ps aux. It is not a problem if you are the only user on this server.
    – Ole Tange
    Commented Sep 25, 2020 at 21:36
  • 1
    You can avoid all the stty convolution with the following shortcut: echo -n Password:; read -s; echo "$REPLY". Or with bash it is only one command: read -s -p Password:; echo "$REPLY".
    – chutz
    Commented Aug 18, 2021 at 13:11