| Summary: | ssh-add -d cannot take key from stdin | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Kane <kanepyork> | ||||||
| Component: | ssh-add | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | enhancement | CC: | djm, dtucker | ||||||
| Priority: | P5 | ||||||||
| Version: | 8.2p1 | ||||||||
| Hardware: | Other | ||||||||
| OS: | Linux | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 3162 | ||||||||
| Attachments: |
|
||||||||
|
Description
Kane
2020-06-11 08:22:55 AEST
On most platforms you can do "cat id_ed25519_test | ssh-add -d /dev/stdin". Created attachment 3416 [details] 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@openssh.com' | ssh-add -d -" Created attachment 3418 [details]
regress tests
regress tests for previous
This has been committed and will be in the openssh-8.4 release, due in a few months Mass close of all bugs fixed in 8.4 release. |