Search

Congratulations! The form is submitted.
Something went wrong!
  • 24/7 Connect: 1800-209-8833
  • Quick Renew |
  • Support |
  • Sales Chat |
  • Affiliates  |
  • Forums
  • Login
  • Subscribe
  • Home
  • WordPress
  • Business
  • Hosting
  • Marketing
  • Web Designers
  • Website
  • Startup
  • WordPress
  • Business
  • Hosting
  • Marketing
  • Web Designers
  • Website
  • Startup

Facing issues on our shared servers while accessible cpanel.

How To Check If Your Website Is Secure?

Why Should You Consider Using a Dedicated Server?

The Benefits Of VPS Hosting For Your Website SEO

What is Shared Hosting and how does it work

5 Frequently Asked Questions About Shared Hosting

Can You Run Your eCommerce Website On A Shared Hosting Server? 

Website,

Step-by-Step Guide To Enabling SSH On Ubuntu 18.04 LTS

September 19, 2019   . 3 minutes Read
0
Shares
Share on FacebookShare on Twitter
How to Configure SSH on Ubuntu? : Explained
How to Configure SSH on Ubuntu? : Explained

what is ssh

SSH or Secure Shell is a simple networking protocol that enables secure data communication. It allows safe remote shell services, command execution and ensures security between two connected devices. These devices can be connected over a secured or an unsecured network running SSH client programs. Generally, SSH enables users to remotely connect to a server. Port 22 is the standard port for SSH, however, users can transfer files through SFTP (SSH File Transfer Protocol/Secure File Transfer Protocol) or SCP (Secure Copy). 

Related Post
How to Configure Firewall in Linux? : Step-by-Step Guide
Step-by-Step Guide to Configure Firewall On Your Linux Server
Understanding SSL Certificates for Your Website

Enabling SSH doesn’t require in-depth technical knowledge, so you should be able to do it easily by following a bunch of steps. In this tutorial, we’ll cover the reasons you should enable SSH access and learn how to enable SSH on Ubuntu. 

5 Reasons to Enable SSH:

  1. SSH allows you to monitor your log-files in real-time 
  2. SSH deters attackers from misusing IP source routing, i.e. SSH ensures the security of the information in the IP header travelling between the source and destination path.
  3. It helps avoid DNS spoofing, otherwise known as DNS cache poisoning attack
  4. It encrypts data and helps in keeping malicious viruses and hackers away 
  5. It helps protect your data from eavesdropping and sniffing attacks

How to Enable SSH on Ubuntu 

Having seen what SSH is and the reasons to enable SSH on your server, let us now move on to understanding how to enable SSH on Ubuntu. 

Enabling SSH in Ubuntu helps provide remote access login with other network communication channels. It is a 2-step process:

  • Installing the server: 
      1. Open ‘Terminal’ using the Ctrl+Alt+T shortcut on your keyboard or clicking on the ‘Terminal’ icon
      2. To install, run the commands
        1. sudo apt update

        2. sudo apt-get install open ssh-server

      3. The server starts automatically post-installation of the SSH server. To check whether SSH is installed properly, run the following command
        1. sudo systemctl status ssh

  • Configuring SSH: 
    1. Changing your default port number to another is an important step when configuring SSH
    2. To update your SSH port, open the SSH configuration file by running the following command.  
      1. sudo apt-get install nano -y // to install the ‘nano’ editor. You can use any editor of your choice

      2. sudo nano /etc/ssh/sshd_config

    3. After the config file opens, find the following words # Port 22, where 22 is the default port number
    4. Change the port number to anything of your choice. However, make sure the port number doesn’t clash with any other port
    5. Press Ctrl+O to save the changes made and then press Ctrl+X to exit the editor
    6. Restart SSH after a few seconds and run the following command:
      1. sudo service ssh restart

And we’re done configuring SSH on our Ubuntu server!

Enabling it on your Linux Shared Hosting Package:

We, at HostGator, support SSH access on our Linux Shared Hosting Servers. SSH connection to HostGator‘s Linux Hosting Servers can be through key or password-based authentication. You can follow the below step for password-based authentication in the terminal. 

  1. Run the following command:

    ssh -l user remote-server

  2. Enter the cPanel password.

And you’re good to go! If you wish to connect to your SSH from your cPanel i.e. key-based authentication, you can follow the steps listed here.

We hope you understood how to enable SSH on Ubuntu and found this tutorial helpful. It is easy to install SSH all you need to do is follow the steps in the correct manner. If you have any comments, please feel free to leave them in the comments section below!

Related Post
How to Configure Firewall in Linux? : Step-by-Step Guide
Step-by-Step Guide to Configure Firewall On Your Linux Server
Understanding SSL Certificates for Your Website

Comments

cPanellinuxSecuritySSHStep-by-Step Guide To Enabling SSH On Ubuntu 18.04 LTSubuntu
Previous

How to Configure Firewall in Linux? : Step-by-Step Guide

September 18, 2019
Next

What is Server Virtualization? What are the Benefits of Server Virtualization?

September 20, 2019

H Fatima

H. Fatima used to be an Engineer by profession and Writer by passion until she started pursuing full-time writing. She is presently a Content Marketeer at Newfold Digital (APAC). She mostly writes what she deeply perceives and analyses, it is her way of unwinding. Her interests include writing, reading (an avid reader), watching foreign-language movies and public speaking.

Subscribe

Congratulations! The form is submitted.
Something went wrong!

Power Your Business

HostGator India - Web Hosting Blog
  • Popular Posts
  • How to Host a Website – A Complete Guide for Beginners
  • Light Up Your Business’s Future With The Black Friday & Cyber Monday Sale
  • Shared‌ ‌SSD‌ ‌Hosting‌ ‌is‌ ‌Now‌ ‌Live‌ ‌on‌ ‌HostGator‌ ‌India!‌ ‌
  • Building a Landing Page that Converts
  • 6 Factors To Be Considered While Choosing Your Web Hosting Provider

© 2018 Ever Magazine Theme. All rights reserved.

Start Building Your Website Today!

Starting At Only

Rs.99/mo

Get Started!
Hosting
  • Shared Hosting
  • Windows Hosting
  • Reseller Hosting
  • KVM VPS Hosting
  • Application Hosting
  • Managed VPS Hosting
  • Managed Dedicated Server
  • Dedicated Server
  • Business Email
Domains
  • Register Domains
  • Transfer Domains
  • IDN Domains
  • Digital Certificates
  • CodeGuard
  • Sitelock
Shopping
  • Hot Deals
  • Affiliate Sign Up
  • Affiliate Login
  • Compare Plans
Support
  • Customer Portal
  • Support Portal
  • Payment Options
  • Forums
Company
  • About HostGator
  • Host in India
  • Awards & Reviews
  • Press & Media
  • Company Blog
  • Contact Us
*Prices reflect discount on first term
  • Sitemap
  • Contact Us
  •  
  • Legal
  •  
  • Privacy Policy

Copyright © 2023 HostGator.in Web Hosting

FaceBook | HostGator.in Twitter | HostGator.in Youtube | HostGator.in