[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-bugs
Subject:    [Bug 1323] ssh-add: add an option to disable passphrase querying (batch mode)
From:       bugzilla-daemon () mindrot ! org
Date:       2014-07-07 9:08:48
Message-ID: bug-1323-705-vfpCszYhqB () https ! bugzilla ! mindrot ! org/
[Download RAW message or body]

https://bugzilla.mindrot.org/show_bug.cgi?id=1323

Vincent Lefevre <vincent-openssh@vinc17.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent-openssh@vinc17.net

--- Comment #2 from Vincent Lefevre <vincent-openssh@vinc17.net> ---
(In reply to Damien Miller from comment #1)
> ssh-add < /dev/null ?

The "< /dev/null" has no effect when $DISPLAY is NOT set:

$ env -u DISPLAY ssh-add < /dev/null
Enter passphrase for /home/vinc17/.ssh/id_rsa:

while it avoids that when DISPLAY is set:

$ ssh-add < /dev/null
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

BTW, I don't know why I get such an error instead of a silent failure
(note that $SSH_ASKPASS is not set). "ssh_askpass" is not documented in
the ssh-add man page.

My machine is under Debian/unstable, with OpenSSH_6.6.1p1.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic