Comment #1144

Henrik wrote the following reply to https://babbagefiles.xyz/org-roam-on-android/:

I found it helpful to ssh into the Android phone to debug some stuff when setting it up.

https://joeprevite.com/ssh-termux-from-computer/

Follow these steps:

Open Termux on your Android phone
Install OpenSSH:

pkg upgrade
pkg install openssh

Set up a password:

passwd

Find your username by running this in Termux:

whoami

Save this value for later. Might look like u0_a254
Find the host by running this in Termux:

ipconfig

Look for something like inet addr:192.168.0.100 Save this value for later.
Start the ssh server on Termux:

sshd

Verify that it’s running with:

logcat -s 'ssh:*'

You should see something like “Server listening on port 8022”
On your computer, SSH into your machine on port 8022 (default port):

ssh @ -p8022

Type in your password and viola! You’re accessing Termux from your computer.

Reply to this comment