On Jan 24, 2014, at 11:32 AM, Edward Ned Harvey (bblisa4) 
<[email protected]> wrote:

>> From: bblisa [mailto:[email protected]] On Behalf Of Alex Aminoff
>> 
>> What is the typical way a Mac user uses ssh? Do they use the
>> command-line ssh client that comes with the OS, or do they download some
>> app analogous to putty on windows?
> 
> I don't know a single person who uses an ssh client other than the built-in 
> ssh.

I might be the minority, but I use SecureCRT almost exclusively. Saving, 
cloning and managing sessions is a very important bit of functionality 
particularly when your known_hosts file is > 2000 lines. I use iTerm2 for some 
purposes and almost never use the built in Terminal.App (it was too buggy in 
older releases and I've never gotten over that).

> 
> 
>> We plan to renumber all our IP space, which will cause saved ssh host
>> keys to become invalid. 
> 
> Now is the time to start using DNS.  In fact, a long, long time ago was the 
> time to start.  If you were using DNS, you wouldn't have this problem.  You 
> can renumber to your heart's content, and ssh known_hosts will record 
> "foobar.somedomain.org" as the host corresponding to that particular ssh 
> server public key.  Renumber away, no problem.

That's 100% false. The default behavior of the SSH client on any modern 
Unix/Linux variant is to check the IP of the remote host as well. It will be 
stored in the known_hosts file with the hostname,IP_address.

> 
> If you're in the unfortunate situation of NOT using DNS, and for some reason 
> the problem you care about is the IP address in the known_hosts file...  Then 
> just use sed on your known_hosts file to replace the old IP with the new IP.

The proper thing to do is to simple remove the entry from the known_hosts file 
and let the next connection regenerate the entry. In fact, that's all that 
needs to be done at all. Nothing needs to be done for key pairs on either side, 
just have clients remove the existing entries from their $HOME/.ssh/known_hosts 
file and be done with it. 

> 
> _______________________________________________
> bblisa mailing list
> [email protected]
> http://www.bblisa.org/mailman/listinfo/bblisa

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
bblisa mailing list
[email protected]
http://www.bblisa.org/mailman/listinfo/bblisa

Reply via email to