From charlesreid1

No edit summary
Line 10: Line 10:
* set configuration for programs
* set configuration for programs


==Software==
==Software Update==


Kali uses aptitude as a software manager. Update all your packages, and upgrade your distribution:
Kali uses aptitude as a software manager. Update all your packages, and upgrade your distribution:
Line 18: Line 18:
apt-get -y dist-upgrade
apt-get -y dist-upgrade
</pre>
</pre>
==Fix SSH Keys==
OpenSSH server should be installed, but if it isn't:
<pre>
apt-get install openssh-server
</pre>
Remove any existing startup SSH service, and set the SSH service to run at SSH's default runlevel (that is, to run on boot):
<pre>
update-rc.d -f ssh remove
update-rc.d -f ssh defaults
</pre>
Next you will want to replace the default SSH keys provided on the SD card image. Move the old SSH keys somewhere else:
<pre>
cd /etc/ssh/
mkdir insecure_original_default_kali_keys
mv ssh_host_* insecure_original_default_kali_keys/
</pre>
And finally, make new SSH keys for this machine.
<pre>
dpkg-reconfigure openssh-server
</pre>





Revision as of 19:53, 17 January 2016

This is a guide to connecting to a headless installation of Kali Linux on a Raspberry Pi. General info about running Kali on the Pi here: Kali Raspberry Pi

More info about all-things Kali Linux: Kali

Post-Installation Procedure

The post-installation procedure that will be covered by the guide includes:

  • update and install software
  • set startup services
  • set configuration for programs

Software Update

Kali uses aptitude as a software manager. Update all your packages, and upgrade your distribution:

apt-get update
apt-get -y dist-upgrade

Fix SSH Keys

OpenSSH server should be installed, but if it isn't:

apt-get install openssh-server

Remove any existing startup SSH service, and set the SSH service to run at SSH's default runlevel (that is, to run on boot):

update-rc.d -f ssh remove
update-rc.d -f ssh defaults

Next you will want to replace the default SSH keys provided on the SD card image. Move the old SSH keys somewhere else:

cd /etc/ssh/
mkdir insecure_original_default_kali_keys
mv ssh_host_* insecure_original_default_kali_keys/

And finally, make new SSH keys for this machine.

dpkg-reconfigure openssh-server