>
> Hi. I am trying to get started with pdsh, but I am getting an error from
> gnome-ssh-askpass.
>
> I don't understand why, my X windows works fine (I can run xclock and the
> little clock pops up.)
Hi Aleksey,
pdsh explicitly removes DISPLAY from ssh's environment in order to avoid
ssh hanging while waiting for a passphrase.
What you probably want to do is run ssh-agent to cache your passphrase,
then ssh can run passwordless when spawned by pdsh. Imagine if you
were running a pdsh to 100 hosts - you wouldn't want to have 100
askpass windows pop up on your display!
Let me know if I can be of further assistance.
mark
>
> [tsalolia@...]~% PDSH_SSH_ARGS="-2 -v" pdsh -w localhost date
> localhost: OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
> localhost: debug1: Reading configuration data /etc/ssh/ssh_config
> localhost: debug1: Applying options for *
> localhost: debug1: Connecting to localhost [127.0.0.1] port 22.
> localhost: debug1: Connection established.
> [deletia: connecting to ssh server, attempt to use gssapi-with-mic
> authentication, attempt to use publickey authentication[
> localhost: debug1: Next authentication method: password
> localhost:
> localhost: (gnome-ssh-askpass:27082): Gtk-WARNING **: cannot open display:
> localhost: debug1: Authentications that can continue:
> publickey,gssapi-with-mic,password
> localhost: Permission denied, please try again.
> localhost:
> localhost: (gnome-ssh-askpass:27083): Gtk-WARNING **: cannot open display:
> localhost: debug1: Authentications that can continue:
> publickey,gssapi-with-mic,password
> localhost: Permission denied, please try again.
> localhost:
> localhost: (gnome-ssh-askpass:27084): Gtk-WARNING **: cannot open display:
> localhost: debug1: Authentications that can continue:
> publickey,gssapi-with-mic,password
> localhost: debug1: No more authentication methods to try.
> localhost: Permission denied (publickey,gssapi-with-mic,password).
> pdsh@...: localhost: ssh exited with exit code 255
> [tsalolia@...]~%
>
>
> [tsalolia@...]~% echo $SSH_ASKPASS
> /usr/libexec/openssh/gnome-ssh-askpass
> [tsalolia@...]~%
>
>
>
> What can I do to debug this, please?
>
> This is on Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
>
>
> Sincerely,
> Aleksey
>
> ------=_Part_947_28633598.1176441283845
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> <div>Hi. I am trying to get started with pdsh, but I am getting an erro
> r from gnome-ssh-askpass.</div>
> <div> </div>
> <div>I don't understand why, my X windows works fine (I can run xclock an
> d the little clock pops up.)</div>
> <div> </div>
> <div><br>[tsalolia@... -v" pds
> h -w localhost date<br>localhost: OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003<b
> r>localhost: debug1: Reading configuration data /etc/ssh/ssh_config<br>
> localhost: debug1: Applying options for *<br>localhost: debug1: Connecting to
> localhost [<a href="http://127.0.0.1">127.0.0.1</a>] port 22.<br>localhost:
> debug1: Connection established.<br>[deletia: connecting to ssh server, attemp
> t to use gssapi-with-mic authentication, attempt to use publickey
> authentication[
> </div>
> <div>localhost: debug1: Next authentication method: password<br>localhost:<br
> >localhost: (gnome-ssh-askpass:27082): Gtk-WARNING **: cannot open display:<b
> r>localhost: debug1: Authentications that can continue: publickey,gssapi-with
> -mic,password
> <br>localhost: Permission denied, please try again.<br>localhost:<br>localhos
> t: (gnome-ssh-askpass:27083): Gtk-WARNING **: cannot open display:<br>localho
> st: debug1: Authentications that can continue: publickey,gssapi-with-mic,pass
> word
> <br>localhost: Permission denied, please try again.<br>localhost:<br>localhos
> t: (gnome-ssh-askpass:27084): Gtk-WARNING **: cannot open display:<br>localho
> st: debug1: Authentications that can continue: publickey,gssapi-with-mic,pass
> word
> <br>localhost: debug1: No more authentication methods to try.<br>localhost: P
> ermission denied (publickey,gssapi-with-mic,password).<br><a href="mailto:pds
> h@...>: localhost: ssh exited with exit co
> de 255
> <br>[tsalolia@...]~% </div>
> <div> </div>
> <div> </div>
> <div>[tsalolia@...]~% echo $SSH_ASKPASS<br>/usr/libexec/openssh/gn
> ome-ssh-askpass<br>[tsalolia@...>
> <div> </div>
> <div> </div>
> <div>What can I do to debug this, please?</div>
> <div> </div>
> <div>This is on Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
> <br> </div>
> <div><br>Sincerely, <br>Aleksey </div>
>
> ------=_Part_947_28633598.1176441283845--
>
>
> --===============0263658802==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> --===============0263658802==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Pdsh-users mailing list
> Pdsh-users@...
> https://lists.sourceforge.net/lists/listinfo/pdsh-users
>
> --===============0263658802==--
>
|