Access you Kali Linux machine remotely from any where.
Accessing machines remotely is being a necessity for every one. There are many ways to access you kali desktop remotely. The most commom ways are :-
Secure Shell (SSH) for Linux-based machines
Remote Desktop Protocol (RDP) for Windows-based machines
Before you can establish a secure remote desktop protocol with a remote machine, there are a few basic requirements to meet:
The remote computer must be turned on at all times and have a network connection.
The client and server applications need to be installed and enabled.
You need the IP address or the name of the remote machine you want to connect to.
You need to have the necessary permissions to access the remote computer.
Firewall settings need to allow the remote connection.
What is SSH ?
Well ssh is secure shell port 22 . It is a cryptographic network protocol for operating network services securely over an unsecured network. Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH.
How to install openssh-client
Fire up you terminal and type. This command is for ssh client you need to install ssh-client on the remote PC from where you are going to access you Kali machine.
sudo apt-get install openssh-client
After this it will ask for the user password just give it and let it install.
How to install and setup ssh for remote logins on Kali
First install openssh-server.
- Type this command
sudo apt-get install openssh-server ii
2. Give your sudo password
3. Enter Y to allow the installation to continue after the disk space prompt.
The required support files will be installed, and then you can check if the SSH server is running on the machine by typing this command:
sudo service ssh status
Your response must look like this.
If not then start the service by.
sudo systemctl start ssh
You can now also edit the SSH daemon configuration file, for example, you can change the default port for SSH connections. In the terminal prompt, run this command:
sudo nano /etc/ssh/sshd_config
And restart the service.
sudo systemctl restart ssh
How to connect to your remote host ?
Now to connect to a ssh port just type:
e.g If i want to connect to a remote host i will type “ssh email@example.com”
and then type the passowrd of the user you are trying to access.
Also if love this blog please please clap for me it motivates a lot !!!! Thanks !