Bug#445584: openssh-client: known_hosts searching not functional?
Package: openssh-client
Version: 1:4.6p1-5
Severity: normal
It seems to me the advertised way of finding a key in a (possibly hashed) known_hosts
file doesn't work:
itz@unicorn:~$ ssh-keygen -F localhost
itz@unicorn:~$ ssh localhost ls
#.newsrc-dribble#
LICENSE
Mail
MyMusic
MyPics
News
OldNews
admin
bin
bitmaps
chess
copyright
glchess-1.0.6
jadetex.cfg
linux-source-2.6.22
mktex.cnf
permres
sgml
spam-corpora
src
tarballs
taxes
tex
wallpapers
work
www.tar.bz2
itz@unicorn:~$
The connection succeeded - so localhost must be in known_hosts ...
My real problem is that ssh-keygen -R doesn't seem to work either, so
there is no way to replace a key when I get the famous "Someone could be
eavesdropping" message, other than deleting the entire known_hosts file.
Until this is clarified (of course user deficiency is a possible
explanation :), I am disabling known_hosts hashing.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-6unicorn200709091248
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages openssh-client depends on:
ii adduser 3.105 add and remove users and groups
ii debconf [debconf-2.0] 1.5.14 Debian configuration management sy
ii dpkg 1.14.6 package maintenance system for Deb
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libcomerr2 1.40.2-1 common error description library
ii libedit2 2.9.cvs.20050518-4 BSD editline and history libraries
ii libkrb53 1.6.dfsg.1-7 MIT Kerberos runtime libraries
ii libncurses5 5.6+20070908-1 Shared libraries for terminal hand
ii libssl0.9.8 0.9.8e-9 SSL shared libraries
ii passwd 1:4.0.18.1-11 change and administer password and
ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime
openssh-client recommends no packages.
-- no debconf information
Reply to: