Skip to content

Instantly share code, notes, and snippets.

View jliving207's full-sized avatar
🤧

JamesTown jliving207

🤧
  • Burnaby, BC
View GitHub Profile
@jarun
jarun / Termux_from_Ubuntu.md
Last active March 7, 2025 02:04
How to connect to Termux from Ubuntu desktop

In this example, we will setup a SSH server on Termux (for Android) and connect to the server from Ubuntu desktop. However, a similar procedure should work with any SSH server.

  1. Generate your ssh key pair on your desktop

    $ ssh-keygen
    
  2. Check your desktop IP address (say, 192.168.0.100)

  3. Run ssh server on your desktop

  4. Copy the file to Termux over SCP

$ scp [email protected]:~/.ssh/id_rsa.pub ~/.ssh/authorized_keys