Configuration to Enable ssh(Remote) Login in Ubuntu.

Configuration to Enable ssh(Remote) Login in Ubuntu.

How to Enable ssh (Remote) Login in Ubuntu. 

Have a Trouble to Access ssh Login in Ubuntu.

Steps to Configure ssh configuration file.

  1. Go to your system/VM and Open Terminal (use ctl+atl+t) and Follow Commands.
  2. Open sshd_config file in any editor like vim, nano, gedit (I use vim ) and modify some parameters.

  1. vim /etc/ssh/sshd_config

#PermitRootLogin prohibit-password
#PasswordAuthentication yes
Change to 
PermitRootLogin yes
PasswordAuthentication yes

  1. press i to edit.
  2. press "esc" then type ":wq" ( esc-> exit insert mode, w-> Write, q-> Quit editor).
  3. Restart the sshd.service
  1. systemctl restart sshd
  2. systemctl status sshd
  1. Now you must be access Remote Login.


    • Related Articles

    • Setup noVNC on Ubuntu 20.04/Gnome 3.36

      VNC (Virtual Network Computing) enables you to control your Linux installation from another computer on the same network, by viewing and interacting with the desktop from the other computer. To learn more about VNC, click here noVNC allows you to ...
    • Enable Root Login in GUI Lock Screen in Ubuntu.

      How to Enable Root Login in Ubuntu in Login Screen. Do you have Trouble to Login as root user in Ubuntu like this? Steps to Enable Root Login Login as other user as you Define in Installation time. Open the Terminal, shortcut to open Terminal ...
    • Backup, Snapshot, and Restore Linux installations using Timeshift

      If you mess up (or are going to mess up) some config files or drivers, it is always good to have a fallback point. The de-facto standard for doing this on Linux is Timeshift. Timeshift for Linux is an application that provides functionality similar ...
    • What is Boot Process in Linux OS.

      Boot Process in Linux OS. Have you ever wondered what happens behind the scenes from the time you press the power button until the Linux login prompt appears? Press the power button on your system, and after few moments you see the Linux login ...
    • How to Partition, Format, and Mount Secondary Drives in Linux - Manual Drive Configuration (MDC)

      Introduction This guide provides detailed instructions on how to manually configure secondary drives in a Linux system, including partitioning, formatting, and mounting the drives. Warning Performing these steps on an existing primary drive or a ...