Displaying 1 result from an estimated 1 matches for "password_script".
Did you mean:
password_crypt
2009 Dec 23
3
Question on SSH_ASKPASS
...t the desired result.
My goal is to launch a script on a remote server via SSH without having to
type a password, because it is locally executed from a script. This should
not be too complicated, but somehow I am not able to figure this out myself.
I have configured the variables SSH_ASKPASS=<password_script> and
DISPLAY=nodisplay. My password_script just contains echo "password", nothing
else.
Now if I execute this ssh command:
ssh -T jan@<dest_host> "/<script_dir>/<script>"
It still asks me for a password. This command though
setsid ssh -T jan@<dest_hos...