Re: .ssh/known_host file format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J.Bakshi wrote:
> Dear  list,
> 
> I have again come to you to discuss one more thing about ssh server in debian.
> The ssh server is running as I have reported earlie rwith "Listenaddress" 
> option. But when I check the .ssh/known_host file I have become very 
> surprised. In suse the file listed the hosts with IP address; but here in 
> debian the file listed the hosts in some encrypted form I think. For an 
> example one of the host appear as
> 
> ~~~~~~~~~~~~`
> 1|IJgX5SzPVBU+0HMca+9NUwJ7dbs=|L7VrUguJZVpsie0l8gFmWb0D7dw= ssh-rsa 
> AAAAB3NzaC1yc2EAAAABIwAAAIEA4oeNBdcZX/5/ir3GJo/466qO5gfacLX632YiucgBX2Z4XcT9FhofPGVF1BTXTp7iS9pwnEeabmilSBsNeUN8BniEbDVi4LpSjggSJP08dBZSm3kqmKT6GVlfRshUc+DaXfCJyp3VhNdV0Z3WiMDeUdfMt71r0drNFZ+s+rFZviM=
> ~~~~~~~~~~~~
> 
> Could any one suggest how can I change this to have IP based known_host file ?
> 
> Thanks

Just add "HashKnownHosts no" to your /etc/ssh/ssh_config or your user
configuration file. As default the hostnames/ip addresses are hashed.

- -- Matthias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI1gXBGgHcOSur6dQRApe+AJ9pr1oI8XvTRPxSyYuXqbEkDPQBDgCeNAf/
gyGo6j/Xat40TN3Nt79ZfHs=
=/mRJ
-----END PGP SIGNATURE-----

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux