Friday, April 13, 2018

How to Enable SSH in Ubuntu 16.04 LTS, linux mint

How to Enable SSH in Ubuntu 16.04 LTS, linux mint

How to Enable SSH in Ubuntu 16.04 LTS, linux mint

Here’s the way to modify Secure Shell (SSH) service in Ubuntu sixteen.04 Xenial Xerus, the new LTS unleash, to permit secure remote login and different network communications.

Ubuntu provides OpenSSH (OpenBSD Secure Shell) in its universe repositories, that could be a suite of security-related network-level utilities supported the SSH protocol.

1. to put in it, open terminal (Ctrl+Alt+T) or log in Ubuntu server and run command:

sudo apt-get install openssh-server

How to Enable SSH in Ubuntu 16.04 LTS, linux mint

2. After that, you ought to have SSH service enabled in your system, you will check its standing by running command:

sudo service ssh status

How to Enable SSH in Ubuntu 16.04 LTS, linux mint

3. you will amendment some settings (e.g., the listening port, and root login permission) by redaction the configuration file via command:

sudo nano /etc/ssh/sshd_config

On Ubuntu desktop, you will use gedit rather than nano:

How to Enable SSH in Ubuntu 16.04 LTS, linux mint

Finally apply the changes by restarting or reloading SSH:

sudo service ssh restart

If you want ssh using root user, you need to replace setting in /etc/ssh/sshd_config. search PermitRootLogin and replace "prohibit-password" with "yes".
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post