Personal Web Hosting Web Hosting by Micfo.com
Dedicated Server Hosting
  • Micfo Forums User CP FAQ 's Members List Calendar New Posts Register
Go Back   Micfo.com's official Web Hosting Forum | Discussion on cPanel Linux Windows VPS and Dedicated Servers > Webhosting Services > Security Breaches and Holes
Reload this Page how to change ssh port ( Linux )
Security Breaches and Holes Security breaches and holes will be announced here. You may also discuss anything related to this topic here.

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#1 (permalink))
Micfo Newbie
 
Posts: 0
Join Date: Feb 2009
Wink how to change ssh port ( Linux ) - 02-16-2009, 08:11 AM

Hello,

i'm happy to be one of micfo forum and customers

i'm sorry about my english

but i thing all the time i'll talk in Linux languege (commande line)

so everyone can understand it

if we want to change the default ssh port (22) to (3343) for example !

PHP Code:
pico /etc/ssh/sshd_config 
then using ctrl+w search for

PHP Code:
#Port 22 
change it to like this

PHP Code:
Port 3343 
then by using ctrl+w search for

PHP Code:
#Protocol 2,1 
and change it like this

PHP Code:
Protocol 2 
then ctrl+x and y ( to close the file and save it )

then resart ssh

PHP Code:
service sshd restart 
now your new ssh port is 3343
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Blue Dot this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999-2008 Micfo™ International LLC. - All Rights Reserved.
Windows Web Hosting | Dedicated Server Hosting