News for hackers. Stuff that matters.
Re:MagiskSSH – SSH server on Android without Termux by dotancohen on Monday December 09, 2024 @03:59PM (#42370508)
I use `adb shell` very often on my Android phone. What are your use cases for SSH where adb does not suffice?

Not arguing, just curious.

Re:MagiskSSH – SSH server on Android without Termux by 1727706962 on Monday December 09, 2024 @05:06PM (#42371070)
Not OP but personally

- Always available over my network/wireguard without touching the phone or a cable. Wireless ADB over a tcp socket technically works but requires a USB cable to bootstrap when you use the phone as a hotspot like I do, nor would I dare open it up to the internet.

- Any number of SFTP clients rather than the limited ADB options

- Higher throughput than wired ADB (at least on my Pixel 6A over USB)

- I want ssh access to my termux environment anyway so may as well use it for file transfers too.

I only really use adb for app development, maybe the odd nslookup or android package management with `pm`

Re:MagiskSSH – SSH server on Android without Termux by dotancohen on Monday December 09, 2024 @05:57PM (#42371484)
I see, thank you.
Re:MagiskSSH – SSH server on Android without Termux by Oxodao on Tuesday December 10, 2024 @02:44AM (#42374729)
If you are rooted, you do no need a wire to bootstrap, there are apps that start the process, but it's mainly for convinience.

Also this lets you run script on your real device instead of the chroot thing of termux which can be helpful (e.g. accessing /data/data stuff which is a pain with termux, not sure if its even possible).

And my last reason is just that why would I need a separate app that I need to configure when I can just have a real ssh server

Re:MagiskSSH – SSH server on Android without Termux by therealmarv on Monday December 09, 2024 @05:35PM (#42371303)
It's mostly rsync for me. I love rsync.

And also: I don't want to connect my phone over the cable to my PC very often. I just want to quickly transfer sometimes (over WiFi).

Re:MagiskSSH – SSH server on Android without Termux by dotancohen on Monday December 09, 2024 @05:57PM (#42371486)
Thanks.
Re:MagiskSSH – SSH server on Android without Termux by 1vuio0pswjnm7 on Monday December 09, 2024 @07:37PM (#42372305)
No wireless ADB in older phones.