우분투 서버 ssh 포트 변경 방법 입니다.
# Port 22 // Yobubun change to their desired port, and # Pull the.
Now it opens a port, change'll save the existing port 22 ~
The newly added port 1234 Assuming how to open the port,
sudo ufw allow 1234/tcp
The Port Blocking
sudo ufw deny 22/tcp
Since doeneundeyo haejusimyeon restart the ssh.
Finally, try to enter netstat -ntl sure I am, that the desired port is open
– If you are using a router, it haejusyeoya open the port in the air port forwarding settings.