Raspbian – SSH Keys

Very important note: once you get access to your Pi, do regenerate the SSH keys.
Since Raspbian (and basically all the other distributions) are distributed as prepared images to copy onto the SD card, it is not safe to keep the default SSH keys.
To regenerate the keys proceed as follows:

# sudo rm /etc/ssh/ssh_host_*
# sudo dpkg-reconfigure openssh-server

Source: http://www.slblabs.com/2012/08/16/rpi-ssh-ip/

Leave a Reply

Your email address will not be published. Required fields are marked *