This is just a heads up, that maybe the sshpass dependency can be replaced by native (OpenSSH) means, namely by setting SSH_ASKPASS_REQUIRE=force and SSH_ASKPASS=someProgram for the executed ssh client.
someProgram get's the passphrase query prompt as argv[1] and shall print the desired passphrase.
Other than sshpass this can be even used to support multiple passphrase queries (e.g. when hopping nodes).
Hey.
This is just a heads up, that maybe the
sshpass
dependency can be replaced by native (OpenSSH) means, namely by settingSSH_ASKPASS_REQUIRE=force
andSSH_ASKPASS=someProgram
for the executedssh
client.someProgram
get's the passphrase query prompt asargv[1]
and shall print the desired passphrase.Other than
sshpass
this can be even used to support multiple passphrase queries (e.g. when hopping nodes).Cheers, Chris.