Re: ssh read password from stdin
From: Markus Friedl (markus_at_openbsd.org)
Date: Mon, 24 Nov 2003 12:59:04 +0100 To: Popeanga Marian <firstname.lastname@example.org>
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.