unable to use SSH_ASKPASS
From: Popeanga Marian (pmarian_at_cnlo.ro)
Date: Fri, 5 Aug 2005 09:50:47 +0300 (EEST) To: firstname.lastname@example.org
According to ssh manual:
"If ssh does not
have a terminal associated with it but DISPLAY and
are set, it will execute the program specified by
and open an X11 window to read the passphrase. This is
larly useful when calling ssh from a .xsession or related
script. (Note that on some machines it may be necessary to
redirect the input from /dev/null to make this work.)"
( Version OpenSSH_4.1p1, OpenSSL 0.9.7g )
starting ssh from a shell script and setting SSH_ASKPASS and DISPLAY
should involve executing the $SSH_ASKPASS. Till now i wasn't able to do
I use the following script to test:
Any help is welcomed.