[TriLUG] RSA Keys
Ken Mink
ken.mink at gmail.com
Mon Jan 24 11:40:11 EST 2005
Hmm.
I had the same problem and I went a completely different route. While
the previous solution makes more sense, I'm throwing mine out to see
if it was a really bad idea.
I took the host keys from the machine that is available on port22 and
used them as the host keys for the machine that is available on the
non-standard port. It's worked fine.
Ken
On Mon, 24 Jan 2005 09:51:26 -0500, Ian Kilgore <ian at trilug.org> wrote:
> -----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-----
> --
> 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
>
--
---------------------------------------------
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."--Benjamin Franklin
" 'Necessity' is the plea for every infringement of human liberty; it
is the argument of tyrants; it is the creed of slaves."--William Pitt
More information about the TriLUG
mailing list