bugzilla-daemon at mindrot.org
2020-Jun-10 22:22 UTC
[Bug 3180] New: ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Bug ID: 3180
Summary: ssh-add -d cannot take key from stdin
Product: Portable OpenSSH
Version: 8.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-add
Assignee: unassigned-bugs at mindrot.org
Reporter: kanepyork at gmail.com
The -d option to ssh-add does not accept '-' as an alias for stdin.
$ cat id_ed25519_test | ssh-add -d -
Bad key file -: No such file or directory
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2020-Jun-19 05:09 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
On most platforms you can do "cat id_ed25519_test | ssh-add -d
/dev/stdin".
--
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
2020-Jun-26 03:52 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
Status|NEW |ASSIGNED
Attachment #3416| |ok?(dtucker at dtucker.net)
Flags| |
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Created attachment 3416
--> https://bugzilla.mindrot.org/attachment.cgi?id=3416&action=edit
Implement support for "ssh-add -d -"
This adds support for "ssh-add -d -". It allows multiple keys to
appear
on stdin, one per line. This allows handy recipes like deleting all but
certificates "ssh-add -L | grep -v 'cert-v01 at openssh.com' |
ssh-add -d
-"
--
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
2020-Jun-26 03:52 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |3162
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3162
[Bug 3162] Tracking bug for 8.4 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.
bugzilla-daemon at mindrot.org
2020-Jun-26 04:18 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3416|ok?(dtucker at dtucker.net) |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
2020-Jun-26 05:02 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3416|0 |1
is obsolete| |
Attachment #3418| |ok?(dtucker at dtucker.net)
Flags| |
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Created attachment 3418
--> https://bugzilla.mindrot.org/attachment.cgi?id=3418&action=edit
regress tests
regress tests for previous
--
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
2020-Jun-26 05:02 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3416|1 |0
is obsolete| |
--
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
2020-Jun-26 05:10 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3418|ok?(dtucker at dtucker.net) |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
2020-Jun-26 05:13 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180 --- Comment #4 from Damien Miller <djm at mindrot.org> --- This has been committed and will be in the openssh-8.4 release, due in a few months -- 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
2020-Jun-26 05:13 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--
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
2020-Oct-02 04:55 UTC
[Bug 3180] ssh-add -d cannot take key from stdin
https://bugzilla.mindrot.org/show_bug.cgi?id=3180
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #5 from Darren Tucker <dtucker at dtucker.net> ---
Mass close of all bugs fixed in 8.4 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.
Seemingly Similar Threads
- [Bug 2982] New: gssapi_cleanup: supported mechs should be freed via gss_release_oid_set
- [Bug 3162] New: Tracking bug for 8.4 release
- [Bug 3581] New: ssh-keyscan fails with `fdlim_get: bad value` with large file descriptor limit due to type confusion
- [Bug 3069] New: sftp issues with [ or ] in path name
- [Bug 3071] New: unhandled EINTR while connecting causes ssh to exit prematurely