Forum

 

SSH port?  

  RSS

erik
 erik
New Member
Joined: 1 week  ago
Posts: 4
10/01/2017 12:23 pm  

I want to change port 22 when login with SSH for my VPS? Please share your easiest ways?


ReplyQuote
honor
Eminent Member
Joined: 1 week  ago
Posts: 33
10/01/2017 12:26 pm  

Switch to the root user (sudo su -)
Run vi /etc/ssh/sshd_config
Find where it says # Port 22
Remove # and change 22 to your desired port number.
Run service sshd restart


ReplyQuote
  
Working

Please Login or Register