Activity Stream
48,167 MEMBERS
6823 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Member

    Thumbs up Changing SSH Port on your VPS/DEDI

    Changing The default port 22 to other port is considered as a security measure.

    I am sure that 90 % of members here use the default port

    STEP1 : Login to your V.P.S / Dedi by using a SSH client like Putty.




    STEP2: Editing /etc/ssh/sshd_config

    Using your favourite editor,edit /etc/ssh/sshd_config
    PHP Code: 
    nano /etc/ssh/sshd_config 
    Default port will be 22 ..change it to a value of your wish, but make sure its not binded by another application and not blocked by firewall.

    Restarting SSHD

    For CentOS
    PHP Code: 
    /etc/init.d/sshd restart 
    For Debian/ Ubuntu
    PHP Code: 
    /etc/init.d/ssh restart 
    PS:
    *Make sure to remember the new ssh port.
    *Just changing the port 22 to something else wont make your box secure, it gives more work to the hacker to guess/find the ssh port.


    Post a link back to this thread while posting this somewhere else
    desiboy Reviewed by desiboy on . Changing SSH Port on your VPS/DEDI Changing The default port 22 to other port is considered as a security measure. I am sure that 90 % of members here use the default port STEP1 : Login to your V.P.S / Dedi by using a SSH client like Putty. http://desiimg.com/images/screengog.png STEP2: Editing /etc/ssh/sshd_config Rating: 5
    Coding Horror Fan
    I don't read PM's frequently .

  2.   Sponsored Links

  3.     
    #2
    Member
    Make shure you allow that Port in your firewall first.


  4.     
    #3
    Member
    Quote Originally Posted by Lisvo View Post
    Make shure you allow that Port in your firewall first.
    true
    Coding Horror Fan
    I don't read PM's frequently .

  5.     
    #4
    Banned
    Website's:
    SMSFreak.in Recharge.im DJGaurav.in
    Good you remembered Lisvo or else desiboy would have got the blame

  6.     
    #5
    Member
    1 more little tip for everyone:
    If you have a few servers, Decide on one port number, or it gets real confussing.


  7.     
    #6
    Member
    Website's:
    greatseeder.com
    Quote Originally Posted by Lisvo View Post
    Make shure you allow that Port in your firewall first.
    By default CentOS doesn't have any firewall which blocks ports.

  8.     
    #7
    Member
    Website's:
    digitalbattlefield.net imgnow.co
    ^^ Not true, it comes with built in IPTables that disallow all ports except the defaults

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing IP
    By MrCube in forum Technical Help Desk Support
    Replies: 9
    Last Post: 20th Jul 2011, 08:21 PM
  2. [Dedicated] US Dedi 1GigE Port
    By MediaStar in forum Archive
    Replies: 6
    Last Post: 3rd Jun 2011, 09:28 AM
  3. Replies: 68
    Last Post: 30th Jan 2011, 06:30 PM
  4. What different speed 1gb port and 100mbps port?
    By MediaStar in forum General Discussion
    Replies: 9
    Last Post: 25th Jun 2010, 11:36 PM
  5. Difference between VPS and Semi-Dedi/Dedi.
    By Danny in forum Hosting Discussion
    Replies: 11
    Last Post: 20th Oct 2009, 04:13 PM

Tags for this Thread

BE SOCIAL