bugzilla-daemon at bugzilla.mindrot.org
2008-Dec-18 16:44 UTC
[Bug 1544] New: ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Summary: ssh-keygen -l on known_hosts file does not display
hostnames for lines with comments
Product: Portable OpenSSH
Version: 5.1p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh-keygen
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: ssh-bugzilla at finestructure.net
Created an attachment (id=1588)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1588)
output of ssh-keygen -l on known_hosts file with comments
I am encountering a small bug when using ssh-keygen -l with
known_hosts files. For lines that have comments, the hostname is not
diplayed in the ssh-keygen -l output. Please see the attachment for a
demonstration of the effect.
As you can see in the last command in the attachment, the hostname is
not present in the display, although the comment is.
The monkeysphere [0] program uses the comment field in known_hosts
files,
so this may present a problem for users of that program.
Thanks for the help.
[0] http://web.monkeysphere.info/
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Dec-18 16:52 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Jameson Rollins <ssh-bugzilla at finestructure.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Dec-18 16:54 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Jameson Rollins <ssh-bugzilla at finestructure.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ssh-bugzilla at finestructure.
| |net
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Jan-21 10:48 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2009-01-21
21:48:15 ---
I'm pretty sure that key comments in known_hosts files have only worked
"by accident" before. That being said, we should try to preserve
them...
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2010-Apr-26 10:14 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1708
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2010-Aug-03 05:40 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544 --- Comment #2 from Damien Miller <djm at mindrot.org> --- We are freezing for the OpenSSH 5.6 release. Retargetting these bugs to the next release. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2010-Aug-03 05:42 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1803
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Targetting OpenSSH 5.7
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2010-Aug-03 05:43 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1708 |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2011-Jan-24 01:30 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1803 |
--- Comment #4 from Damien Miller <djm at mindrot.org> 2011-01-24 12:30:47
EST ---
Retarget unclosed bugs from 5.7=>5.8
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2011-Jan-24 01:31 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1845
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2011-Sep-06 00:34 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1930
--- Comment #5 from Damien Miller <djm at mindrot.org> 2011-09-06 10:34:13
EST ---
Retarget unresolved bugs/features to 6.0 release
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2011-Sep-06 00:36 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544 --- Comment #6 from Damien Miller <djm at mindrot.org> 2011-09-06 10:36:26 EST --- Retarget unresolved bugs/features to 6.0 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2011-Sep-06 00:39 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1845 |
--- Comment #7 from Damien Miller <djm at mindrot.org> 2011-09-06 10:39:00
EST ---
Retarget unresolved bugs/features to 6.0 release
(try again - bugzilla's "change several" isn't)
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2011-Nov-03 23:42 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544 --- Comment #8 from Damien Miller <djm at mindrot.org> 2011-11-04 10:42:11 EST --- Created attachment 2102 --> https://bugzilla.mindrot.org/attachment.cgi?id=2102 bz1544.diff prefer hostnames to comments when printing fingerprints on known_hosts -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2011-Nov-03 23:54 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544 --- Comment #9 from Damien Miller <djm at mindrot.org> 2011-11-04 10:54:31 EST --- This is tricky, because ssh-keygen -l has to support both known_hosts and authorized_keys and there are no cheap heuristics to discern between them. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2011-Dec-02 01:19 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |1323
--- Comment #10 from Damien Miller <djm at mindrot.org> 2011-12-02
12:19:58 EST ---
The last patch is wrong, bug #1323 discusses the complexity of this in
more detail.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2011-Dec-02 01:59 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on|1323 |1319
--- Comment #11 from Damien Miller <djm at mindrot.org> 2011-12-02
12:59:37 EST ---
oops, I meant bug #1319
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2012-Feb-23 23:34 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1986
--- Comment #12 from Damien Miller <djm at mindrot.org> 2012-02-24
10:34:20 EST ---
Retarget from 6.0 to 6.1
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
2012-Feb-23 23:37 UTC
[Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
https://bugzilla.mindrot.org/show_bug.cgi?id=1544
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1930 |
--- Comment #13 from Damien Miller <djm at mindrot.org> 2012-02-24
10:37:59 EST ---
Retarget 6.0 => 6.1
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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.
Possibly Parallel Threads
- [Bug 1545] New: ssh-keygen -R removes all comments from known_hosts file
- [Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
- [Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
- [Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments
- [Bug 1544] ssh-keygen -l on known_hosts file does not display hostnames for lines with comments