DevCEDTeam / CED

0 stars 0 forks source link

SSH | Ports #129

Open DevCEDTeam opened 1 year ago

DevCEDTeam commented 1 year ago
ssh -p 22 root@34.125.121.222

nmap 34.125.121.222 -p 22,2083,2087 --reason

nmap -Pn 34.125.121.222 -p 2086,2087,2083,2082,80,443, 49160

sudo netstat -tulpn | grep LISTEN
DevCEDTeam commented 1 year ago

disable this restriction to allow for direct root logins via SSH PermitRootLogin no change to PermitRootLogin yes Restart server: /scripts/restartsrv_sshd SSH location: /etc/ssh/sshd_config