Kali Raspberry Pi/SSH
From charlesreid1
SSH To-Do
There are a couple of SSH-related things you should do post-install for your Kali 2.0 Raspberry Pi. These steps are covered in the "Fix SSH" section of the Kali Raspberry Pi post-installation procedure: Kali Raspberry Pi/Post-Install#Fix SSH Keys
Fix SSH To Run On Boot: Procedure
First, your SSH server should be installed. If not,
apt-get install openssh-server
Second, revert to SSH defaults, which will run SSH on boot:
update-rc.d -f ssh remove update-rc.d -f ssh defaults
On a fresh Kali install, replace the SSH keys that come with the image, as these are easy to spoof:
cd /etc/ssh/ rm ssh_host_*
Finally, make new SSH keys:
dpkg-reconfigure openssh-server
Startup Services In General
If you want to run any startup service, not just SSH, read on: Kali Raspberry Pi/Startup Services