SIGN IN SIGN UP

Use SSHPASS envvar instead of -p for sshpass (#3177)

From the sshpass manpage:

> The -p option should be considered the least secure of all of sshpass's options. All system users can see the password in the command line with a simple "ps" command. Sshpass makes a minimal attempt to hide the password, but such attempts are doomed to create race conditions without actually solving the problem. Users of sshpass are encouraged to use one of the other password passing techniques, which are all more secure.

This PR changes the sshpass behavior to execute a subprocess with the
SSHPASS envvar (which is generally regarded as more secure) than using
the -p option.
S
Seth Vargo committed
d82f59cdba65543c5e10f9878b20c77c89455dfb
Parent: 57b3801
Committed by Jeff Mitchell <jeff@hashicorp.com> on 8/15/2017, 11:43:39 PM