ssh-askpass keyboard grab problems
John A. Sullivan III
john.sullivan at nexusmgmt.com
Tue Jul 22 20:56:38 EST 2003
We're developing a security application (http://iscs.sourceforge.net)
that uses SSH for out-of-band management. Sometimes we want to use rsa
keys and other times we want to use user ids and passwords. We noticed
that there was not an OpenSSH API that we could use to pass the user's
password and that we could not give it via stdin. We did notice that we
could set SSH_ASKPASS and launch gnome-ssh-askpass or ssh-askpass (or I
suppose anything else).
We tried this and were quite pleased with the result in that it allows
us to get on with the rest of the code and not worry about this for
now. However, every time we launch the application and it requests the
ssh password via either ssh-askpass or gnome-ssh-askpass or
x11-ssh-askpass, we receive errors about "could not grab keyboard" and
hints that there might be malice afoot.
What is causing this error and how to we go about eliminating it?
Thanks - John Sullivan
--
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan at nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net
More information about the openssh-unix-dev
mailing list