About Me

Josh Lyon

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Grapevine, TX
E-mail: josh@boshdirect.com

Home View Blog Technology Howto:Change Server Shell Port
Howto:Change Server Shell Port
Written by Josh Lyon   
Friday, 04 January 2008 08:42

I saw this great post on SharkSpace by Amanda about how to change your server's shell port. It said it was part of the dedicated server guide, but I thought it was good for people with VPSs (Virtual Private Servers) as well. Here's the post:

1) Login to shell via root.

2) Open the shell configuration file.

nano -w /etc/ssh/sshd_config

 

3) Change port.

Uncomment and change

#Port 22

to look like:

Port 6472 (choose your own 2 to 5 digit port number (49151 is the highest port number)

 

4) Save and exit.

Ctrl + X + Y

 

5) Restart shell. (Make sure if you have a firewall installed that you have the new port unblocked.)

/etc/rc.d/init.d/sshd restart

Comments (1)add comment

linga raj rohidas said:

0
Server Change Tell Me
How to Change Sql Server
 
February 07, 2008
Votes: +0

Write comment

busy