Re: ssh read password from stdin

From: Markus Friedl (markus_at_openbsd.org)
Date: 11/24/03

  • Next message: jcssupport_at_mycloe.com: "can't ssh directly into server"
    Date: Mon, 24 Nov 2003 12:59:04 +0100
    To: Popeanga Marian <pmarian@cnlo.ro>
    
    

    On Thu, Nov 20, 2003 at 02:39:45PM +0200, Popeanga Marian wrote:
    > How can i workaround this issue, thinking from a programmer perspective ?

    you can trick ssh into executing $SSH_ASKPASS if
    there is no tty and $DISPLAY is set.
    ssh expects the passwd on the stdout from $SSH_ASKPASS.

    works for me.


  • Next message: jcssupport_at_mycloe.com: "can't ssh directly into server"