Change The Port for SSH

0
17

To Change The Port for SSH by easy way

Code:
pico etc/ssh/sshd_config

Press ” Ctrl+W

Code:
#Port 22

Change it to any number you want and delet “#”. For example :

Code:
Port 6486

After that

Code:
service sshd restart

LEAVE A REPLY

Please enter your comment!
Please enter your name here