Код: Выделить всё
nano /etc/ssh/sshd_configКод: Выделить всё
Port 22Перезапуск SSH:
Debian/Ubuntu
Код: Выделить всё
/etc/init.d/ssh restartКод: Выделить всё
/etc/init.d/sshd restartDebian/Ubuntu
Код: Выделить всё
etstat -tulpan | grep sshКод: Выделить всё
netstat -anp | grep sshtcp 0 0 *:2233 *:* LISTEN 3849/sshd
tcp6 0 0 [::]:2233 [::]:* LISTEN 3849/sshd
или
root sshd 813 3 tcp6 *:2233 *:*
root sshd 813 4 tcp4 *:2233 *:*