Monday, 11 November 2013

Configure SSH Server on Kali Linux

 Configure SSH Server on Kali Linux :-

In my previous article i wrote about Setting up SSH on Cisco Router . Today i am going to show you How to configure SSH server on Kali Linux for remote administration.
Why Use Secure Shell (SSH)?
Secure Shell (SSH) improves network security by providing a means of establishing secure connections to networking devices for management, thereby preventing hackers from gaining access.
Using Digital Certificates, in a Public/Private Key Cryptography, SSH is able to authenticate clients or servers ensuring that the device or server you are about to connect to is exactly who they claim to be.
What About Telnet?
Like SSH, Telnet can also be used to connect to your server but, the main disadvantage of using Telnet is that it does not encrypt its connections. This means that if a hacker is able to capture packets from a Telnet session, he or she would be able to view information contained within those packets, such as a client’s username and password, therefore gaining access to your server .
OK , now lets start your SSH server configuration. In my case Kali Linux is installed on the Vmware workstation and i want to access SSH server with Putty client installed on the Windows 8 machine.
First you need to be find out SSH services is running on the Kali machine.
To check the status of ssh service. open root terminal and type.
root@Kali:~# service –status-all

if it,s showing - sign means it,s not installed.
Configure-SSH-Server-on-Kali-Linux
now type the root@kali~:# apt-get install openssh-server from the terminal windows.
1Configure-SSH-Server-on-Kali-Linux
then start the ssh services with the following command root@kali~# service ssh start
now if you run a root@Kali:~# service –status-all command you will see a + sign, instead of – sign.
Now you need to create a RSA key of authentication. Enter the command
root@Kali:~# ssh-keygen -t rsa
then in the Enter file in which to save the key, enter the name putty. then press enter. Now it will create a RSA key for your authentication.
Configure-SSH-Server-on-Kali-Linux1
Your server configuration part is done. Now you need to be open the Putty application on your windows machine. Now enter the IP-address of Kali machine in the Putty. use the command ifconfig to find out the ip-address of kali machine.
Now enter the IP-address , Select the SSH service and port number 22 for SSH connection.and click on OK to start the connection.
Configure-SSH-Server-on-Kali-Linux2
Now enter your credentials to login. after authentication, you are able to do remote administration.
Configure-SSH-Server-on-Kali-Linux3
Enjoy SSH server on kali Linux.
Hope you like my post.Configure SSH Server on Kali Linux. Please Share with others.

1 comment:

  1. Do you need to increase your credit score?
    Do you intend to upgrade your school grade?
    Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
    Do you need any information concerning any database.
    Do you need to retrieve deleted files?
    Do you need to clear your criminal records or DMV?
    Do you want to remove any site or link from any blog?
    you should contact this hacker, he is reliable and good at the hack jobs..
    contact : cybergoldenhacker at gmail dot com

    ReplyDelete