About Me

Josh Lyon

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Grapevine, TX
E-mail: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it

feed image
Home arrow View Blog arrow Josh's Blog arrow Howto:Change Server Shell Port
Jan 04 2008
Howto:Change Server Shell Port
Written by Josh Lyon   
Friday, 04 January 2008
 

Tags : shell, port, linux, server, unix, secure

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

Related articles.

User Comments (1)RSS feed comment
 
linga raj rohidas said:
How to Change Sql Server
Date: 02/06/2008 11:30:18 PM - Title: Server Change Tell Me

Displaying 1 of 1 comments


Add Comment
Name
E-mail
Title  
Comment
 
Available characters: 600
   Notify me of follow-up comments
  Mathguard security question:
9DD         I2Y      
  U    P      X   GK3
  R   QTQ   9A1      
  R    1      O   CY5
  5         HN3      
   
   

 

Add your comment



mXcomment 1.0.8 © 2007-2008 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev   Next >