Connect with us

HOW TO

How to set up Linux Encrypted Networking Tool Secure Shell [SSH] in few easy steps on Ubuntu

Published

on

How to set up Linux Encrypted Networking Tool Secure Shell [SSH] in few easy steps on Ubuntu
How to set up Linux Encrypted Networking Tool Secure Shell [SSH] in few easy steps on Ubuntu. Firstly, what is Secure Shell (SSH)?

It is also known as Secure Socket Shell, a network protocol to provide admins with solid protection when accessing another host over the network.

SSH will encrypt the network exchange with better authentication tools and features like Secure File Transfer Protocol [SFTP], Secure Copy [SCP], port and X session forwarding for better security of other insecure protocols.

In the case below we’ll walk you through few easy steps to set up Linux Encrypted Networking Tool SSH on Ubuntu

 

Linux Encrypted Networking Tool Secure Shell

Linux Encrypted Networking Tool Secure Shell

 

  1. sudo apt-get install openssh-server – to begin installation
  2. cp /etc/ssh/sshd_config /etc/ssh/sshd_config.factory-defaults – please make a copy of the default SSH config and rename it to factory default
  3. chmod a-w /etc/ssh/sshd_config.factory-defaults – modify the permissions
  4. gedit /etc/ssh/sshd_config – tweak config  file if required  ( install gedit if required)
  5. restart ssh – or on latest Ubuntu version use next  – systemctl restart ssh
  6. mkdir ~/.ssh – here we are creating  a folder where your generated key will be sored
  7. chmod 700 ~/.ssh – change the permissions
  8. ssh-keygen -t rsa – generate your key

At any point of time if asked always select “Y”

Once all steps above are completed, you are ready to connect.  At this point, you just have to open the terminal, find the IP address of the host you want to SSH.

You can run ifconfig to find out the IP address and to login to the SSH Server type in the terminal: ssh username@ip.address.here

image

Linux Encrypted Networking Tool Secure Shell

Technology Enthusiast with a keen eye on the Cyberspace, Entrepreneur, Hacker, Co-Founder - Hack Ware News

Continue Reading
Advertisement
Click to comment

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.