bugzilla-daemon at bugzilla.mindrot.org
2019-Nov-07 15:07 UTC
[Bug 3090] New: ssh-keygen -e prints request for input message to stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=3090 Bug ID: 3090 Summary: ssh-keygen -e prints request for input message to stdout Product: Portable OpenSSH Version: 7.9p1 Hardware: All OS: Linux Status: NEW Severity: minor Priority: P5 Component: ssh-keygen Assignee: unassigned-bugs at mindrot.org Reporter: qdinar at gmail.com i have this instruction in my hosting help page: ssh-keygen -e > ~/.ssh/key_rsa_alt.pub when i run this, it prints an empty line and stops, on second Enter it completes its execution. when i cat the .ssh/key_rsa_alt.pub, it has Enter file in which the key is (/home/dinar/.ssh/id_rsa): ---- BEGIN SSH2 PUBLIC KEY ---- in beginning. man ssh-keygen says: -e This option will read a private or public OpenSSH key file and print to stdout the key in one of the formats specified by ... so, i think, ssh-keygen should not print "Enter file in which the key is" to stdout and should print it into terminal. is it possible? by searching "how to print to terminal but not print to stdout" in google, i have found this: https://stackoverflow.com/q/23118252 . -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2020-Jan-25 06:17 UTC
[Bug 3090] ssh-keygen -e prints request for input message to stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=3090 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Resolution|--- |WORKSFORME Status|NEW |RESOLVED --- Comment #1 from Damien Miller <djm at mindrot.org> --- You can avoid the prompt by passing the key that you want to export on the commandline using the "-f pathname" flag, e.g. ssh-keygen -ef ~/.ssh/key_rsa_alt > key_rsa_alt.pub -- 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 bugzilla.mindrot.org
2020-Feb-14 04:59 UTC
[Bug 3090] ssh-keygen -e prints request for input message to stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=3090 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- Closing all resolved bug with release of openssh-8.2 -- 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.