Skip to main content

Termux SSH helps you to setup SSH server on termux application on android, which helps you to execute tasks remotely through terminal/cmd/powershell/termux

Project description

Termux-SSH

+-----------------------------------------------------------+
| _____                                _____ _____ _   _    |
||_   _|                              /  ___/  ___| | | |   |
|  | | ___ _ __ _ __ ___  _   ___  __ \ `--.\ `--.| |_| |   |
|  | |/ _ \ '__| '_ ` _ \| | | \ \/ /  `--. \`--. \  _  |   |
|  | |  __/ |  | | | | | | |_| |>  <  /\__/ /\__/ / | | |   |
|  \_/\___|_|  |_| |_| |_|\__,_/_/\_\ \____/\____/\_| |_/   |
|                                A tool by Dhrumil Mistry   |
+-----------------------------------------------------------+
| ~ ~ ~ ~ ~ A tool Specially Designed for Termux ~ ~ ~ ~ ~  |
+-----------------------------------------------------------+

Termux SSH helps user to setup SSH server on termux android application, which will help them to execute commands remotely using a command line. If your device is rooted then you can have full control over the android smartphone. You can take screenshots, record and capture audio, video, images remotely using termux apis.

This feature might not work on few devices. Refer Termux-API documentation for more information.

Screenshot

Termux-SSH

Installation

Using bash script

  • Execute command in Termux App

    cd $HOME && mkdir tmp && cd tmp && curl -O https://raw.githubusercontent.com/dmdhrumilmistry/Termux-SSH/main/install.sh && chmod +x $HOME/tmp/install.sh && ./install.sh; cd $HOME ;rm -rf $HOME/tmp
    

Maually

  • Open Termux terminal

  • Install Python and git packages

    pkg install python git -y
    
  • Install required packages

    pip install git+https://github.com/dmdhrumilmistry/Termux-SSH.git
    
  • Start Termux-SSH and Install required tools

    python -m termux_ssh
    
    install
    

Commands List

command description
install installs required tools
start starts SSH server
clear clears console screen
port checks on which port server is running
user get username
genpass generates new password for user
wlanip get wlan ip of the device
conncmd connect to this using using command printed
torssh start ssh service on tor network
torhost get TOR network hostname
torstop exit tor network
restart restarts ssh server
close exits Termux-SSH without stopping SSH server
exit stops ssh server and exit

Features

  • Helps user to setup basic SSH server
  • Automated Setup
  • Instructed Steps
  • Secure script

Dependencies

Termux-SSH requires following programs to run properly -

  • Python
    • subprocess module
    • colorama
    • prettytable
    • netifaces
  • OpenSSH
  • Nmap
  • termux-api
  • termux-auth

All the dependencies will be installed automatically when you run install.py script

License

MIT License

Have any Issues?

Create an issue from Issues Tab

Leave A Star⭐

Video Tutorial

  • For Previous Version

Support Me on

Platforms
GithubBadge LinkedIn
Instagram Twitter
YouTube BlogSpot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termux_ssh-1.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

termux_ssh-1.2.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file termux_ssh-1.2.0.tar.gz.

File metadata

  • Download URL: termux_ssh-1.2.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for termux_ssh-1.2.0.tar.gz
Algorithm Hash digest
SHA256 eed4db7335ce1ef02df12dbad03230bbc74ca15b89c76eb9290145dcb529ed56
MD5 baacb3fe9ebc7447a68748f8055d7c71
BLAKE2b-256 ada6325e82ab91edb9084bb15c2cb084c137531f0625b40dfc495f79ff8e1d46

See more details on using hashes here.

File details

Details for the file termux_ssh-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: termux_ssh-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for termux_ssh-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 964620ac62301e65109196e5a082e92439f66b93e501b9eda1e96b8ca183903e
MD5 7de64ce5b15cbd8f5166b70c6ed6bf86
BLAKE2b-256 6422e48cecba6f5f1dd91c281bcdfbd3773fa874c421103f38fc28bf6b2699fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page