ssh-askpass keyboard grab problems

From: John A. Sullivan III (john.sullivan_at_nexusmgmt.com)
Date: 07/22/03

  • Next message: John A. Sullivan III: "Re: ssh-askpass keyboard grab problems"
    To: secureshell@securityfocus.com
    Date: 21 Jul 2003 21:20:19 -0400
    
    

            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@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 
    

  • Next message: John A. Sullivan III: "Re: ssh-askpass keyboard grab problems"

    Relevant Pages

    • Re: ssh & ssh-askpass obnoxious dialogs
      ... > just reared its ugly head. ... > has its DISPLAY env set, some poxy ssh-askpass pops up and gets you to ... > terminal that you actually kicked off ssh from... ... > There appears to be no man page for ssh-askpass, nor any docs in the man ...
      (Debian-User)
    • Re: ssh-askpass ?!
      ... >When I am root, ssh does function normally, it asks me for the password ... >password in a GTK2 dialog box; I have read ssh's manpage, ... >ssh-askpass will be invoked. ... writing into the shell something like this: ...
      (Debian-User)
    • ssh & ssh-askpass obnoxious dialogs
      ... I just updated ssh from debian unstable... ... just reared its ugly head. ... has its DISPLAY env set, some poxy ssh-askpass pops up and gets you to ... There appears to be no man page for ssh-askpass, nor any docs in the man ...
      (Debian-User)
    • ssh-askpass ?!
      ... I always used to use ssh with a command line like this: ... Then I installed ssh-askpass-gnome, the GTK2 frontend for ssh-askpass... ... writing into the shell something like this: ...
      (Debian-User)