Changing the default port for SSH

Issue :

How to change the default port for SSH?

Solution :

Open the port (which you want to use for SSH) in the server firewall and restart the firewall to apply the change.
Then, open the configuration file /etc/ssh/sshd_config using your favorite editor and change :

#Port 22
to
Port x

Replace ‘x’ with the required port number.

Restart sshd :

/etc/init.d/sshd restart

Filed Under: Quick fixesTechnical

Tags:

About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

RSSComments (0)

Trackback URL

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
InstaCarma provides outsourced web hosting technical support, helpdesk management, datacenter automation, cloud service management. Sales - 1800 810 6547 - visit www.instacarma.com