Skip to 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.

License

Notifications You must be signed in to change notification settings

dmdhrumilmistry/Termux-SSH

Repository files navigation

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

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published