[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#312312: woody->sarge upgrade updates ssh_host_key, but not ssh_host_key.pub



On Tue, Jun 07, 2005 at 08:25:52PM +1000, Vincent McIntyre wrote:
> The title pretty much says it all. Apologes if I'm missing something,
> but the upgrades I did during woody didn't remake the ssh_host_key.
> Should this be happening when upgrading to the sarge version?
> I didn't see this mentioned in a quick grep thru /usr/share/doc/ssh.
> 
> I upgraded from 1:3.4p1-1.woody.3 to 1:3.8.1p1-8.sarge.4 today,
> and noticed a change.
[...]
> md5sum /etc/ssh/ssh_host_key /old/etc/ssh/ssh_host_key
> (just showing the first 4 bytes; but they differ all right)
> 5cd1XXXXXXXXXXXXXXXXXXXXXXXXXXXX  /etc/ssh/ssh_host_key
> 7b8dXXXXXXXXXXXXXXXXXXXXXXXXXXXX  /old/etc/ssh/ssh_host_key

I think I know what this might be. To confirm, could you compare the
actual host key material?

  ssh-keygen -l -f /etc/ssh/ssh_host_key
  ssh-keygen -l -f /old/etc/ssh/ssh_host_key

I'm betting that they're the same.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]




Reply to: