[Bug 2381] foreground mode for ssh-agent

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 24 13:53:21 AEST 2015


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
                 CC|                            |djm at mindrot.org
             Status|NEW                         |ASSIGNED
   Attachment #2602|                            |ok?(dtucker at zip.com.au)
              Flags|                            |

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 2602
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2602&action=edit
Add ssh-agent -D flag for foreground without debug

Sounds reasonable. This adds a -D option (similar to sshd) that puts
ssh-agent in the foreground but does not enable debugging. It also
bumps the debug level for -d to DEBUG3.

It still prints the shell commands to get the environment to stdout,
since users might want to capture these for sourcing into shell
initialisation.

$ ./ssh-agent -D
SSH_AUTH_SOCK=/tmp/ssh-evSXau5OLQvF/agent.11610; export SSH_AUTH_SOCK;
echo Agent pid 11610;

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list