[TriLUG] RSA Keys

Ian Kilgore ian at trilug.org
Mon Jan 24 09:51:26 EST 2005


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

Ian Kilgore wrote:
| Alan Porter wrote:
| |>   What's the best way to resolve this?  Am I doomed to editing
| |> ~/.ssh/known_hosts each time?  Or is there a less-strict checking
| option?
| |
| |
| | ssh-o StrictHostKeyChecking=no -o CheckHostIP=no -o user at hostname
| |
| | See the man pages for ssh_config.
| |
| |
| | Alan
| |
| |
| yeah, add
|
| StrictHostKeyChecking=no
| CheckHostIP=no
|
| under that hostname (Host hostname) in your ~/.ssh/ssh_config (or the
| system wide one).  That will save you from typing it out on the command
| line every time.

oh, and add both machines to your /etc/host with the same IP address.
(I had this same problem a week or so ago, this is how I fixed it.)  IE:

192.168.1.2	host1
192.168.1.2	host2

Then in your ssh_config, do

Host host2
	Port 12345
	StrictHostKeyChecking=no
	CheckHostIP=no

That sort of thing =].
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB9QtuwsRpgTiXSOERAt9ZAJoCR6LfILCmPyz0T2r18JFIWwYjqACdGKKc
lJIwNGVeFqYeWcOQlSuPMqE=
=ZxmG
-----END PGP SIGNATURE-----



More information about the TriLUG mailing list