SSH_ASKPASS

177 views
Skip to first unread message

r.bie...@gmail.com

unread,
Aug 21, 2014, 8:32:13 PM8/21/14
to parall...@googlegroups.com
I am trying to use SSH_ASKPASS for pssh so authorization keys don't have to be setup everywhere.

bash-4.1$ export DISPLAY=dummy:0; export SSH_ASKPASS=./myap
bash-4.1$ setsid ssh -l myuser myremotehost whoami
bash-4.1$ myuser

So far, so good.

bash-4.1$ export DISPLAY=dummy:0; export SSH_ASKPASS=./myap
bash-4.1$ setsid pssh -l myuser --host myremotehost -i whoami
bash-4.1$ [1] 16:49:59 [FAILURE] myremotehost Exited with error code 255
Stderr: pssh error: SSH requested a password. Please create SSH keys or use
the -A option to provide a password.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Hmm, what am I missing?

bash-4.1$ setsid ssh -A -l myuser myremotehost whoami
bash-4.1$ myuser

Ok, this seems to work.

bash-4.1$ setsid pssh -x -A -l myuser --host myremotehost -i whoami
bash-4.1$ [1] 17:21:32 [FAILURE] myremotehost Exited with error code 255
Stderr: pssh error: SSH requested a password. Please create SSH keys or use
the -A option to provide a password.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

No luck.

How do I use SSH_ASKPASS (or it's equivalent) for pssh?

Thanks,

Ron
Reply all
Reply to author
Forward
0 new messages