bugzilla-daemon at mindrot.org
2014-Oct-14 21:47 UTC
[Bug 2294] New: parsing known hosts files with tabs doesn't work
https://bugzilla.mindrot.org/show_bug.cgi?id=2294 Bug ID: 2294 Summary: parsing known hosts files with tabs doesn't work Product: Portable OpenSSH Version: 6.7p1 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: calestyo at scientia.net Hi. AFAIU, using (multiple) tabs in e.g. sshd_config or ssh_config works, e.g. one can justify one's options like this: AddressFamily any Port 22 ListenAddress localhost by having (multiple) tabs and/or (multiple) spaces between directive and option or between two options. I tried to do the same on known hosts files,... after having a very short glance at hostfile.c it thought it would work,... but apparently it does not. host.example.org,host ecdsa-sha2-nistp521 AAA... host.example.org,host ssh-rsa AAA... foo ssh-ed25519 AAA... apparently it still works to have a tab between hostname(s) filed and algorithm,... but when there is one or more tabs between algo and key data,... ssh apparently no longer recognises that line and asks me to verify the fingerprint. Now I don't know whether this is expected to work (and a bug), or whether it's not expected to work.... than this could be an request for enhancement,... i.e. in all places where one space is allowed as a field separator, multiple tabs and/or spaces should be allowed as well. Oh and should this ever be made working,... I've just seen that bash-completion fails miserably when having (multiple) spaces/tabs in the known hosts files, it even suggests th algos and the key material as a completion target... so one should then probably report a bug there as well, to have that fixed. Cheers, Chris. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2020-Jan-25 13:29 UTC
[Bug 2294] parsing known hosts files with tabs doesn't work
https://bugzilla.mindrot.org/show_bug.cgi?id=2294 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from Damien Miller <djm at mindrot.org> --- *** This bug has been marked as a duplicate of bug 2623 *** -- 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
2021-Apr-23 05:10 UTC
[Bug 2294] parsing known hosts files with tabs doesn't work
https://bugzilla.mindrot.org/show_bug.cgi?id=2294 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 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.
Apparently Analagous Threads
- [Bug 2291] New: ssh -Q kex lists diffie-hellman-group1-sha1 twice
- [Bug 2290] New: documentation of algorithms
- [Bug 2303] New: ssh (and perhaps even sshd) should allow to specify the minimum DH group sizes for DH GEX
- [Bug 1993] ssh tries to add keys to ~/.ssh/known_hosts though StrictHostKeyChecking yes is set
- [Bug 2354] New: please document that PermitRootLogin really checks for uid=0