Changing SSH Port in Linux

Open ssh config with your favorite editor:
vi /etc/ssh/sshd_config
Look for line with “Port 22”, should be on top:
_ # What ports, IPs and protocols we listen for Port 12345_
Restart ssh service:
/etc/init.d/ssh restart

******************SAUDI APPS DBA***************************************

No comments:

Post a Comment