Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

unable to use SSH_ASKPASS

Subject: unable to use SSH_ASKPASS
Date: Fri, 5 Aug 2005 09:50:47 +0300 (EEST)

    Hi guys,

    According to ssh manual:

 "If ssh does not
               have a terminal associated with it but DISPLAY and
 SSH_ASKPASS
               are set, it will execute the program specified by
 SSH_ASKPASS
               and open an X11 window to read the passphrase.  This is
 particu-
               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
 it.
    I use the following script to test:

 export DISPLAY=localhost:0
 export SSH_ASKPASS="/opt/kde/bin/cvsaskpass"
 ssh marian@localhost

    Any help is welcomed.

 Thanks,
 Marian



<Prev in Thread] Current Thread [Next in Thread>