on ubuntuĀ | |
---|---|
sudo apt install openssh-server | |
kali | |
pacman -S openssh systemctl start sshd.service systemctl enable sshd.service ssh localhost |
Optional: Could also modify the config file
root@dc1-lan1-server:~# more /etc/ssh/sshd_config | grep PermitRootLogin
...