https://bugzilla.mindrot.org/show_bug.cgi?id=2411
Bug ID: 2411
Summary: ssh-agent flag to print details of existing agent
Product: Portable OpenSSH
Version: 6.4p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-agent
Assignee: [email protected]
Reporter: [email protected]
When you run ssh-agent it starts and prints its own pid, even if an
agent is already running. The -k flag can be used to kill the existing
agent, but it would be useful to have a flag (-e for example) which
just prints the details of the existing agent if running (and if there
is no existing agent, starts up as normal).
Then you could always do in the shell
eval `ssh-agent -e`
and it would make sure an agent was running, starting one if necessary,
but leaving the existing one in place otherwise.
This can of course be done with shell scripting but I think it would be
a useful feature for ssh-agent itself.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs