HackWareNews
News, ethical hacking, cyber crime, network security

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

Get real time updates directly on you device, subscribe now.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy