- Ubuntu - On the Cloud
- Ubuntu - Docker
- Ubuntu - Node.js
- Ubuntu - Installing MySQL & Python
- Ubuntu - Virtual Machines
- Ubuntu - Nginx
- Ubuntu - Development
- Ubuntu - Secure Shell
- Ubuntu - Server Installation
- Ubuntu - Networking
- Ubuntu - Scripting
- Ubuntu - Command Line
- Ubuntu - LibreOffice
- Ubuntu - Spreadsheets
- Ubuntu - Word Writer
- Ubuntu - Files & Folders
- Ubuntu - User Management
- Ubuntu - Media Players
- Ubuntu - Messaging
- Ubuntu - Email
- Ubuntu - Browsers
- Ubuntu - Software Center
- Ubuntu - Device Drivers
- Ubuntu - Environment
- Ubuntu - Flavors
- Ubuntu - Overview
- Ubuntu - Home
Ubuntu Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Ubuntu - Secure Shell
The Secure Shell (SSH) in Linux is used to log into the machine in an encrypted and safe manner. This helps in providing a secure channel to streampne all requests to the Ubuntu server. SSH uses cryptographic keys to log into the server.
On Windows, the most common tool to perform a secure shell to a Linux server is putty. In this chapter, we will learn how to use putty to Secure Shell into a server.
Step 1 − Download putty from the
site.![Download Putty](/ubuntu/images/download_putty.jpg)
Step 2 − Before connecting to use putty, we need to know the IP address of our Ubuntu box. To do this, type ifconfig in the command shell of the Ubuntu server.
![Ubuntu IP Address](/ubuntu/images/ubuntu_ip_address.jpg)
From the above screenshot, we know that the IP address of the server is 192.168.0.20
Step 3 − Next step is instalpng SSH on the server. In order to SSH to a server, you need to make sure it is installed. Run the following command in the Ubuntu server command prompt session.
sudo apt-get install openssh-server
![Instalpng SSH](/ubuntu/images/instalpng_ssh.jpg)
Step 4 − Launch PuTTY. Enter the IP address of the Ubuntu server and cpck the Open button.
![Launch Putty](/ubuntu/images/launch_putty.jpg)
Step 5 − The next screen requests to accept the encrypted key sent from the server.
![Accept Encrypted Key](/ubuntu/images/accept_encrypted_key.jpg)
Step 6 − Finally, enter the username and password to log into the server. We have successfully estabpshed a secure shell to the server.
![Enter Username and Password](/ubuntu/images/enter_username_and_password.jpg)