| Summary: | foreground mode for ssh-agent | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Igor Bukanov <igor> | ||||
| Component: | ssh-agent | Assignee: | Damien Miller <djm> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | enhancement | CC: | djm, dtucker | ||||
| Priority: | P5 | ||||||
| Version: | 6.8p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2360 | ||||||
| Attachments: |
|
||||||
|
Description
Igor Bukanov
2015-04-15 21:27:50 AEST
Created attachment 2602 [details]
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;
applied - this will be in openssh-6.9 Close all resolved bugs after 7.3p1 release |