- Penetration Testing Bootcamp
- Jason Beltrame
- 205字
- 2021-07-02 21:36:01
Command and control server SSH setup
Setup on the command and control host for the SSH is not a complicated process as well and is very similar to our on-premises box. The only real difference is the fact that the Kali image for the Raspberry Pi has some different defaults actions/settings compared to the default Kali image:
- Similar to the Raspberry Pi setup, we need to copy old keys and create new ones. Unlike the Raspberry Pi, the keys are not shared and should already be unique; however, I like to recreate them just in case (force of habit and a best practice for security):

- The default image of Kali Linux does not allow root login by default. You need to navigate to the /etc/ssh/ directory and edit the sshd_config file with your editor of choice. Find the line that says PermitRootLogin and change the response from no to yes. Save the file:

- Next, we will set SSH to start up on boot. It will not perform this by default. To accomplish this, we will run the following command:
update-rc.d -f ssh enable 2 3 4 5
- Restart the SSH service and try a test SSH session to verify that everything is working correctly:

推薦閱讀
- Learning C# by Developing Games with Unity 2020
- Building Modern Web Applications Using Angular
- 從程序員到架構(gòu)師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務(wù)、多團隊協(xié)同等核心場景實戰(zhàn)
- Python數(shù)據(jù)挖掘與機器學(xué)習(xí)實戰(zhàn)
- 自制編程語言
- Visual Basic程序設(shè)計實驗指導(dǎo)(第二版)
- Android應(yīng)用開發(fā)實戰(zhàn)
- Java Web從入門到精通(第2版)
- Python預(yù)測分析與機器學(xué)習(xí)
- 征服C指針(第2版)
- Java Web開發(fā)教程:基于Struts2+Hibernate+Spring
- Java Web開發(fā)基礎(chǔ)與案例教程
- Mastering XenApp?
- Raspberry Pi Robotic Projects
- 零基礎(chǔ)C語言學(xué)習(xí)筆記