Skip to content

Zemotacqy/Commander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Commander

Access your local system's Terminal(may be behind a NAT) through your android device in Real time.


NO DATABASES

NO HTTP(S) REQUESTS

ONLY SSH


This repository is divided into 3 parts:

  1. Android App
  2. Virtual Machine
  3. Local System

For this System to work you would need a Virtual Machine configured(on AWS, Azure, GCP or any other platform). Install java in your machine. Make sure you have the following data about your virtual machine:

  • Virtual Machine Username
  • Virtual Machine Password
  • Allot any non-standard port for Reverse SSH Connection. Example: 9754
  • Make sure the SSH port is still 22 on both Virtual Machine and on Local Machine.

Local System

ssh -R <reverse_ssh_port>:localhost:<local_host_port> <VM_username>@<VM_ip>

Use Sudo if Permission issue occurs.

Android App

Before running the android app change the Configuration settings - config.properties

Virtual Machine

Assuming VM is a Linux Machine.

  1. Install Java in your Virtual Machine.
  2. Copy the VM folder in your Virtual Machine. Assume it is ~/remoTer
  3. Change the Configuration Settings - config.properties
  4. Compile the ~/remoTer/RemoTer.java using the following command:
javac -cp ".:./jars/jsch.jar" RemoTer.java

Technology Used

  1. JSch (Java SSH Library)
  2. Sockets (For Testing and Debugging Purposes)

And you are good to go. Run the android app and access your Local system's Terminal.

About

Access your local system's Terminal through your android device in Real time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published