Hey.
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).
Cheers,
Chris.
Hey.
This is just a heads up, that maybe the
sshpassdependency can be replaced by native (OpenSSH) means, namely by settingSSH_ASKPASS_REQUIRE=forceandSSH_ASKPASS=someProgramfor the executedsshclient.someProgramget's the passphrase query prompt asargv[1]and shall print the desired passphrase.Other than
sshpassthis can be even used to support multiple passphrase queries (e.g. when hopping nodes).Cheers,
Chris.