Access you Kali Linux machine remotely from any where.

Introduction

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

Prerequisites

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

Installation

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.

  1. 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:

ssh username@ipaddresshear

e.g If i want to connect to a remote host i will type “ssh kali@192.168.0.103”
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 !

Cyberfreak Love Hacking, Blogging

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Dart for Dummies: Learn Dart in 30 minutes

Comandos Dev C++ Pdf

CS 371p Spring 2021: Blogs: Week of 29 Mar — 4 Apr

Count Passing Car Pairs

Build Game With Flutter

Configuration & Secrets management at scale

How to change string data or text data of a column to lowercase in Pandas?

How to Install R and two most popular R packages (tidyverse & rstan) in Ubuntu 20.04 LTS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
cyberwarehack

cyberwarehack

Cyberfreak Love Hacking, Blogging

More from Medium

Bash Basics and Navigating Directory Trees

What are Powershell Logical Operators ? — Top Tech Notes

powershell

Linux failover server in the old days

Set up an AWS EC2 instance with port-forwarding and access your private home server from anywhere

Me casually connecting remotely to my private server