Installing SSH server in Kali [Reminders]
Considerations- Kali 2016.1 Rolling Edition
Install
~# apt-get update
~# apt-get install openssh-server
~# update-rc.d -f ssh remove
~# update-rc.d -f ssh defaults
Create security keys
~# cd /etc/ssh/
~# mkdir tsktsktsk
~# mv ssh_host_* tsktsktsk
~# dpkg-reconfigure openssh-server
Allow root account
~# edit /etc/ssh/sshd_config
Find PermitRootLogin without-password
change to PermitRootLogin yes
~# sudo service ssh restart
Auto-start the ssh server on boot
~# update-rc.d -f ssh enable 2 3 4 5
No comments:
Post a Comment