What is SSH

                            What is SSH?


 

 


 SSH which is also called as Secure Shell. SSH is a network protocol that allows secure remote login and other secure network services to operate over an unsecured network. It is mostly used to log in and operate remote servers (Servers which are away from your location) such as web severs or virtual private servers (VPSs).

For using SSH, you need an SSH client and an SSH server. The client is a program which runs on your local computer and connects to the server over the network. The server is the program that runs on the remote machine and detecting for connections from client. 

Once connected, you can use client machine to run commands on server and you can do so many things over the server like transferring files, uploading file and so on. SSH encrypted your connection while making connection and transferring files so that no any middle man can manipulate the information. 

SSH is secured network that's why many hosting industries are using SSH, which allows developers and system administrators to securely manage their servers and websites. Most of the times it is used to connect to home servers or to securely access corporate network from remote locations (any other location).





To use this you need to have as SSH client and SSH server. 

# First you need to install an SSH client on your local computer. There are many options are available, such as PuTTY for windows or terminal for Linux.

#  You will also need to have an SSH server set up on the remote machine that you want to connect to. This can be a physical server or virtual private server (VPS).

#  Once you have both client and server set up, you can use the client to connect to the server. To connect to the server you need to know the IP address or domain name of the server and  also username and password of account which is on server.

#  To initiate the connection, you can use the command line like :
      ssh username@server_address 

If the connection is successful you will have the option to enter the password. After entering the correct the password you logged into server. Now, you are able to perform the tasks and able to run commands and perform other tasks.


    How to install it in Kali Linux?  


To install SSH on Kali Linux, you can use the apt package manager. Make sure that your system is up-to-date so, for update use this command :
            


Next, you can install ssh package by running this command :

            


                            
This command will install ssh server and client programs in your system. After installing the ssh server you can run it by this command : 



For making sure that ssh server is automatically started while starting of the system, use this command : 
 


After following these commands you will able to use ssh service and able to connect to the remote server.

SSH is just one of many tools to remotely access and manage servers. There are many other tools are available.




Comments