- Install SSH service
sudo apt install golang-golang-x-tools
sudo apt-get install sppenssh-server
- Start the SSH service
sudo server sshd start
- Modify the configuration file
Enter: vim /etc/ssh/sshd_config
and find: PermitRootLogin prohibit-password
and modify it to: PermitRootLogin yes
- Restart the SSH service
sudo service sshd restart