ssh server hashcode change on nanoBSD

Polytropon freebsd at edvax.de
Tue Jan 1 14:40:22 UTC 2013


On Tue, 1 Jan 2013 14:11:21 +0330, takCoder wrote:
> everything is fine until i restart my nanoBSD server. the problem is that
> each time i restart my server, the source system is complaining about that
> i need to edit my known_hosts  file cause my nanoBSD hash-code is not
> matched..
> 
> how can i fix this?! it really bothers me cause i think of it as a security
> problem.. i can't risk such things on my server..

You should make the key permanent (i. e. include it on the
boot media you're using). In case no key is found at sshd
startup, a new one will be generated - a different one each
time, of course. So what you're seeing seems to be "normal",
even though not desired at all. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list