https://bugzilla.mindrot.org/show_bug.cgi?id=1993

--- Comment #3 from Darren Tucker <[email protected]> ---
I can't reproduce the name truncation bug on fedora with either 5.9p1
or 6.2p1:

$ ls -l /var/lib/nagios/.ssh/known_hosts
ls: cannot access /var/lib/nagios/.ssh/known_hosts: No such file or
directory

$ ssh -o stricthostkeychecking=no 192.168.1.1 
Warning: Permanently added '192.168.1.1' (RSA) to the list of known
hosts.
^C

$ cat /var/lib/nagios/.ssh/known_hosts 
192.168.1.1 ssh-rsa [....]

The fact that the string is 31 bytes long is suspicious, and it makes
me thing that it's picking up a PATH_MAX or MAXPATHLEN of 32 bytes from
somewhere, but it's not from openssh itself (if it doesn't know any
better it uses 64 bytes).

What platform is this and what is PATH_MAX and/or MAXPATHLEN?  Do you
have UserKnownHostsFile set to a non-default value?

-- 
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to