NEW VPS Plans

ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.

Click here for more info ...

NEW VPS Plans

Click to hideClick to view
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

Printer Friendly
 
email to a friend
Email to friend
 
Add comment
Add comment
 
Views: 719
 
Votes: 0
 
Comments: 0
 
Posted: 03 Jun, 2007 by: Customer Service S.
Updated: 09 Mar, 2011 by: Customer Service S.
RSS