How to Configure SSH and Putty on Ubuntu?

SSH (Secure Shell) is a protocol that enables access to devices or servers in another presentation on the network such as Telnet and rlogin. Telnet and rloginprovide connections without encrypting connections, including user passwords, while SSH encrypts all connections with a strong crypto method. For this reason, it is the most preferred method.

In this article, we will see how to install SSH on a machine running Ubuntu operating system.

  • First, you will need to download and install the openssh-server package. To do this,

We do the above command with the help of sudo in ubuntu. Sudo one-on-one also provides root authority. Since Sudo is written, it will request the user password of our ubuntu account.

ubuntu_ssh
ubuntu_ssh

The upload is finished. You can now access this machine from a Linux or Unix machine, or from a Windows computer.

How to Connect SSH from Linux / Unix Operating Systems

Ssh username@ipaddress values must be written correctly from the command line. For example, ssh root@10.0.2.15. In the meantime, you can find out the IP address of a machine in Linux or Unix operating systems with the ifconfig command (equivalent to ipconfig in Windows). When you apply the ssh username@ipadresi command, you will be asked for the password of the user account specified with username on the Linux machine at the specified IP address. When the password is typed correctly, the connection is provided.

 

Here we will see how to install Ubuntu 14.04 / 16.04 LTS / 18.04 LTS.

We use the command below to load putty into Ubuntu.

putty_install
putty_install

An alternate way to install putty is via GUI ( Synaptic Package Manager), In case Synaptic is not installed the first install it via below command,

After installing Synaptic Package Manager, we search and find putty from the window that opens.

putty_ubuntu_software
putty_ubuntu_software

After the Putty connection is provided, we will need to enter the IP address and port of the server to which we will connect. Then, we enter the username and password and connect to the server.

I hope it was a useful article.