Skip to main content

SSH setup

   28  sudo vim /etc/ssh/sshd_config.d/disable_root_login.conf
   29  /etc/init.d/ssh reload
   30  sudo systemctl restart ssh

sudo vim /etc/ssh/sshd_config.d/disable_root_login.conf
sudo systemctl restart sshd

arthur_wambst@wingsBackup:~$ cat /etc/ssh/sshd_config.d/disable_root_login.conf 
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
PermitRootLogin no

 

arthur_wambst@WORK-KARTOFFEL:~/TP_assembleur$ ssh-copy-id -p 2331 napo280.ovh