nano not needed >> works similar in bash

This commit is contained in:
Sophia Atkinson 2022-10-24 18:18:25 -07:00
parent 2451c5129d
commit 63d7dd3845
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ sudo su -
passwd passwd
nano /etc/ssh/sshd_config nano /etc/ssh/sshd_config
Look for: PermitRootLogin prohibit-password (line 34) and change it to PermitRootLogin yes Look for: PermitRootLogin prohibit-password (line 34) and change it to PermitRootLogin yes
or if your lazy, sudo echo "PermitRootLogin yes" >> nano /etc/ssh/sshd_config or if your lazy, sudo echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
reboot reboot
``` ```
_________________________________________________________________________ _________________________________________________________________________