-----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 [EMAIL PROTECTED]
| |
| | 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-----
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to