bugzilla-daemon at mindrot.org
2015-Apr-15 11:27 UTC
[Bug 2381] New: foreground mode for ssh-agent
https://bugzilla.mindrot.org/show_bug.cgi?id=2381
Bug ID: 2381
Summary: foreground mode for ssh-agent
Product: Portable OpenSSH
Version: 6.9p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-agent
Assignee: unassigned-bugs at mindrot.org
Reporter: igor at mir2.org
It would be nice to have an option to run ssh-agent in foreground
without forking. This will simplify ssh-agent integration with process
managers or containers when it is expected that service is not forking.
The current -d flag is not suitable for that as it also activates the
debug log.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Apr-16 00:01 UTC
[Bug 2381] foreground mode for ssh-agent
https://bugzilla.mindrot.org/show_bug.cgi?id=2381
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|6.9p1 |6.8p1
CC| |dtucker at zip.com.au
--
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.
bugzilla-daemon at mindrot.org
2015-Apr-24 03:53 UTC
[Bug 2381] foreground mode for ssh-agent
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.
bugzilla-daemon at mindrot.org
2015-Apr-24 03:53 UTC
[Bug 2381] foreground mode for ssh-agent
https://bugzilla.mindrot.org/show_bug.cgi?id=2381
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |2360
--
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.
bugzilla-daemon at mindrot.org
2015-Apr-24 04:30 UTC
[Bug 2381] foreground mode for ssh-agent
https://bugzilla.mindrot.org/show_bug.cgi?id=2381
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2602|ok?(dtucker at zip.com.au) |ok+
Flags| |
--
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.
bugzilla-daemon at mindrot.org
2015-Apr-24 05:27 UTC
[Bug 2381] foreground mode for ssh-agent
https://bugzilla.mindrot.org/show_bug.cgi?id=2381
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
applied - this will be in openssh-6.9
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2016-Aug-02 00:41 UTC
[Bug 2381] foreground mode for ssh-agent
https://bugzilla.mindrot.org/show_bug.cgi?id=2381
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Close all resolved bugs after 7.3p1 release
--
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.
Apparently Analagous Threads
- [Bug 2435] New: allow to pass socket to the agent over stdin
- [Bug 2598] New: ssh-agent very occasionally won't remove keys or certs despite now() >= lifetime
- [Bug 2382] New: option to disable pid file with sshd
- [Bug 500] show how to start-up ssh-agent by default...
- [Bug 2411] New: ssh-agent flag to print details of existing agent