ServerTune

Browse by category

Search    |    Advanced search

How can I change shell orr SSH Port?

To change shell/SSH Port from the default 22 to something else, do the following:

Use your favorite Linux Text Editor such as Pico or vi to edit the following: /etc/ssh/sshd_config

Un-comment these two directives:

Port 22

Change the Port 22 to something like: 443 or 2222

Save the file and then restart Shell daemon
/sbin/service sshd restart

 
 
Add comment
 
Views: 812
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS