New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

ssh-hostkey

Good ideas? Share with us!
Post Reply
melzus
Posts: 3
Joined: 07 Jun 2009, 15:38

ssh-hostkey

Post by melzus »

Hi,

On my b2 when restoring the system from the usb-stick, the ssh hostkey is always the same. I don't know if the key is the same on every usb-stick. If so, it would be easy to perform a man-in-the-middle attack on each b2-system with the well known ssh-hostkey.

A new key should be created during every b2 installation, i think.

For me these lines worked to create new host keys:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

regards,
melzus
Post Reply