• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Install & Enable SSH Service On Ubuntu 16.10

How To Install & Enable SSH Service On Ubuntu 16.10

By Sourabh / October 28, 2016 Category: How To, Ubuntu

Learn how to install Secure SHell “SSH” in Ubuntu and learn how to enable SSH Service in Ubuntu 16.10. Ubuntu users can configure OpenSSH Server “sshd_config file” and edit connection settings.

SSH (“Secure SHell”) is a protocol for securely accessing one computer from another. Despite the name, SSH allows you to run command line and graphical programs, transfer files, and even create secure virtual private networks over the Internet.

OpenSSH (OpenBSD Secure Shell) is a suite of security-related network-level utilities based on the Secure Shell (SSH) protocol, which help to secure network communications via the encryption of network traffic over multiple authentication methods and by providing secure tunneling capabilities.

Install OpenSSH in Ubuntu

To use SSH, you will need to install an SSH client on the computer you connect from, and an SSH server on the computer you connect to. The most popular Linux SSH client and Linux SSH server are maintained by the OpenSSH project.

To install OpenSSH in Ubuntu, simply open terminal from App Launcher or via Ctrl+Alt+T keys. When it opens, run command:

sudo apt install openssh-server

Once SSH is installed, it will automatically start SSH service.

Edit OpenSSH in Ubuntu

Ubuntu users can edit the sshd_config configuration file in the /etc/ssh directory. This is done to configure the options related to SSH. Please note that sshd_config is the configuration file for the OpenSSH server and ssh_config is the configuration file for the OpenSSH client.

Before you edit the configuration file, make a backup of the sshd_config file by copying it to the home directory, or making a read-only copy in /etc/ssh by running the following command:

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.factory-defaults
sudo chmod a-w /etc/ssh/sshd_config.factory-defaults

Once the sshd_config file is backed up, edit the configuration file by using the command given below:

sudo gedit /etc/ssh/sshd_config

Editing the sshd_config file, Ubuntu users can disable password authentication, disable forwarding, specify which accounts can use SSH and limit the rate at which one IP address can establish new SSH connections.

Once the sshd_config file is edited, restart the SSH service via command:

sudo service ssh restart

Now since the SSH service is restarted, check that your SSH daemon is running:

ps -A | grep sshd

Tags: Configuring an OpenSSH Server, Enable SSH in Ubuntu 16.10, Install Secure SHell, Install Secure SHell in Ubuntu, Install SSH in Ubuntu 16.10, Install SSH Ubuntu, Open Secure SHell, Open Secure SHell in Ubuntu, Open SSH in Ubuntu 16.10, OpenSSH Server Guide, Secure SHell Ubuntu, SSH Ubuntu, SSH Ubuntu 16.04, SSH Ubuntu 16.10, Ubuntu 16.04 SSH, Ubuntu 16.10 SSH, Ubuntu Install SSH, Ubuntu Secure SHell, Ubuntu SSH, Use SSH in Ubuntu 16.10

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap