From charlesreid1

No edit summary
Line 40: Line 40:


=Enabling aptitude repositories=
=Enabling aptitude repositories=
Following the Kali Linux page on [http://docs.kali.org/general-use/kali-linux-sources-list-repositories sources.list], I modified the <code>/etc/apt/sources.list</code> on each Kali machine to be the following:
<pre>
</pre>

Revision as of 19:11, 17 June 2015

Enabling ssh server

Mars

Jupiter

OpenSSH server

apt-get install openssh-server

Now remove run levels for ssh:

update-rc.d -f ssh remove

Now load the default run level for ssh:

update-rc.d -f ssh defaults

SSH keys

Move old SSH keys for this machine.

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

Make new SSH keys for this machine.

dpkg-reconfigure openssh-server

Enabling aptitude repositories

Following the Kali Linux page on sources.list, I modified the /etc/apt/sources.list on each Kali machine to be the following: