Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to Change Default SSH Port

SSH is mainly used in Linux Operating Systems , SSH is used to connect a PC at a Remote location with Secure connection and using SSH you can use that PC like a Remote Control. Like Controlling your Server (VPS or Dedicated with having root access).

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. The two major versions of the protocol are referred to as SSH1 or SSH-1 and SSH2 or SSH-2. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, rendering them susceptible to packet analysis.The encryption used by SSH is intended to provide confidentiality and integrity of data over an unsecured network, such as the Internet.

(Source Wikipedia)

The Default port for the SSH user is 22. But we can change the default port to some other port (its Good for Security). for example if i wanted to run ssh at port 1090 instead of 22.

Edit the Following File for changing the default port of SSH :

/etc/ssh/ssh_config

/etc/ssh/ssh_config

if you are changing it for your server using PuTTy or any other similar tool then use following command :

vi /etc/ssh/ssh_config

vi /etc/ssh/ssh_config

Their you can find for Some text like :

#   Port 22

# Port 22

or

   Port 22

Port 22

Just change the 22 to the port you wanted to change for me it will be then

Port 1090

Port 1090

and if your file is having Port commented then uncomment it by removing # before the Port
and Save it

Now you have Successfully change the Default SSH Port

Note : You can Run SSH on any port but make sure that no other Service is using that port

You can Get PuTTy Here

Hope you like it.

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

February 24, 2011 Ritesh Sanap Linux Default SSH Port, linux, Remote Location, Secure connection, security, SSH, SSH Port

Post navigation

Previous Previous post: How to Free Some Disk Space in Linux
Next Next post: How to Check the Time of the Executed Command

Currently Trending

  • Windows Vista CD key
  • How to download Specific parts of YouTube videos
  • How to Increase Dropbox upload speed
  • How to add Attribution widget in blogger
  • How to Create Multiple Excerpts in WordPress
  • Random Post Widget for Blogger
  • How To Change Windows XP Shutdown Dialog Box
  • 100+ Best Online Games - Who Else Wants to Play ?
  • List Of All 255 Keyboard All Alt Key Codes
  • How to Change the Welcome/Login Screen in Windows XP ?

Random Posts

BizFresh Blogger Template – Free Blogger Template

July 11, 2009 By Ritesh Sanap 41 Comments

Make Firefox Work Faster Than Ever

February 29, 2008 By Ritesh Sanap Leave a Comment

Canva – Online Photo Editor

November 29, 2015 By Ritesh Sanap Leave a Comment

Pac Man Permanent on Google

May 24, 2010 By Ritesh Sanap Leave a Comment

How to send content summary only for my feedburner subscribers via email?

May 11, 2009 By Ritesh Sanap 2 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2021 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.