Two ssh daemons, one IP
Hello all,
Currently I'm running two ssh daemons off one IP, on two seperate machines.
Remote DNS isn't a possibility until a few months from now, so I have to mannualy enter their IP each time to ssh into the servers, and run them off two different ports.
Problem is, every time I connect machine A after machine B, ssh complains about non-matching keys - resulting in me having to delete known hosts each time. This is because machine A on port 22 has one key, while machine B on port 33 has another. Ssh sees only one IP, and the key compromise function goes active.
Obviously, deleting .ssh/known hosts each time is bad for several reasons. Anyone know a quick way around this without remote DNS? And no, dyndns or anything else is NOT an option. If I have to wait a few months when we finally get a remote DNS server I can ... but I'd like to fix this now.
Thanks!
Currently I'm running two ssh daemons off one IP, on two seperate machines.
Remote DNS isn't a possibility until a few months from now, so I have to mannualy enter their IP each time to ssh into the servers, and run them off two different ports.
Problem is, every time I connect machine A after machine B, ssh complains about non-matching keys - resulting in me having to delete known hosts each time. This is because machine A on port 22 has one key, while machine B on port 33 has another. Ssh sees only one IP, and the key compromise function goes active.
Obviously, deleting .ssh/known hosts each time is bad for several reasons. Anyone know a quick way around this without remote DNS? And no, dyndns or anything else is NOT an option. If I have to wait a few months when we finally get a remote DNS server I can ... but I'd like to fix this now.
Thanks!
