bugzilla-daemon at mindrot.org
2021-Mar-19 15:51 UTC
[Bug 3284] New: ssh-keygen does not respect the syntax for hostname with -F option
https://bugzilla.mindrot.org/show_bug.cgi?id=3284 Bug ID: 3284 Summary: ssh-keygen does not respect the syntax for hostname with -F option Product: Portable OpenSSH Version: 8.4p1 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: ssh-keygen Assignee: unassigned-bugs at mindrot.org Reporter: daniele at retaggio.net Hi, I've tested the bug in gentoo (openssh v8.4p1) and osx big sur (openssh v8.1p1), still seems that i can't select more than one option in the Version list. OSX: $ ssh -V OpenSSH_8.1p1, LibreSSL 2.7.3 $ Gentoo: $ ssh -V OpenSSH_8.4p1, OpenSSL 1.1.1g 21 Apr 2020 $>From the man page of ssh-keygen:-F hostname | [hostname]:port I have hosts with ssh running on a different port, but for the sake of bug reproducer, let's remain on port 22. I assume that the syntax is: $ ssh-keygen -F 172.16.66.8:22 But, with the given syntax, port 22 and any other port fail Example: $ ssh-keygen -F 172.16.66.8:22 -v $ echo $? 1 FWIW: $ ssh-keygen -F [172.16.66.8]:22 -v $ echo $? 1 $ Everything is working without any port specified: $ ssh-keygen -F 172.16.66.8 -v # Host 172.16.66.8 found: line 44 172.16.66.8 ecdsa-sha2-nistp256 [...] $ echo $? 0 -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-May-07 03:17 UTC
[Bug 3284] ssh-keygen does not respect the syntax for hostname with -F option
https://bugzilla.mindrot.org/show_bug.cgi?id=3284 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |djm at mindrot.org Resolution|--- |WORKSFORME --- Comment #1 from Damien Miller <djm at mindrot.org> --- ssh-keygen -F '[172.16.66.8]:22' will work - the braces as shown in the manual are important, as otherwise there's no way to figure out where an IPv6 address ends and the port number begins. -- 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
2022-Feb-25 02:59 UTC
[Bug 3284] ssh-keygen does not respect the syntax for hostname with -F option
https://bugzilla.mindrot.org/show_bug.cgi?id=3284 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- closing bugs resolved before openssh-8.9 -- 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.