TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

MagiskSSH – SSH server on Android without Termux

134 点作者 Oxodao5 个月前

9 条评论

lutusp5 个月前
From the linked Gitlab writeup: &quot;Some changes to OpenSSH are used from Arachnoid&#x27;s SSHelper.&quot; I&#x27;m very glad to see this port of open-source code I wrote years ago, especially now that Google has removed SSHelper from the Google Play store (BTW still available at <a href="https:&#x2F;&#x2F;arachnoid.com&#x2F;android&#x2F;SSHelper" rel="nofollow">https:&#x2F;&#x2F;arachnoid.com&#x2F;android&#x2F;SSHelper</a>).<p>After years of trying to keep up with Google&#x27;s perpetual Android tweaks, I gave up and accepted that they would eventually remove any apps that weren&#x27;t updated for each new Android version.<p>These events only remind me how out-of-date I am as a programmer. I wrote and released my first major title, Apple Writer (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Apple_Writer" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Apple_Writer</a>) in 1979. It lasted for six years in various forms, then was replaced by better programs. I wasn&#x27;t a corporation, I was an individual, and my programs (then and since) have been individual projects.<p>In modern times, individual releases are rare, and in the future are likely to be even more rare, replaced by collaborations between developer teams and AI.<p>Not saying things were better in the past. Just different.
评论 #42367897 未加载
therealmarv5 个月前
I think this is a bit overkill for my taste with root but depends on use case.<p>I&#x27;m SSHing regularly into my Android phone (and it does not need root) for backup purposes. Used various apps for that but settled for years on Termux.<p>* Install <a href="https:&#x2F;&#x2F;f-droid.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;f-droid.org&#x2F;</a> store<p>* Install Termux from there<p>* Install ssh daemon and rsync in Termux with<p><pre><code> pkg upgrade pkg install openssh rsync </code></pre> * Read manual on <a href="https:&#x2F;&#x2F;wiki.termux.com&#x2F;wiki&#x2F;Remote_Access#Using_the_SSH_server" rel="nofollow">https:&#x2F;&#x2F;wiki.termux.com&#x2F;wiki&#x2F;Remote_Access#Using_the_SSH_ser...</a> on how to start, configure, stop ssh daemon. In general: The Termux documentation is good!
评论 #42370508 未加载
0x38B5 个月前
&gt; ... It also includes rsync (which actually was my main motivation for this project)<p>I would take rsync any day over unreliable GUI apps that silently fail to complete remote transfers, often as soon as the screen is turned off.<p>I&#x27;ve used an iPhone for the past few years but may move to a Pixel running GrapheneOS for my next phone. It&#x27;s apps (well, modules) like this and Termux that tip the scales in Android&#x27;s favor.
评论 #42366857 未加载
评论 #42368409 未加载
评论 #42369178 未加载
评论 #42368307 未加载
评论 #42369025 未加载
评论 #42371868 未加载
评论 #42371559 未加载
评论 #42369176 未加载
评论 #42366835 未加载
tetris115 个月前
This looks good.... but I don&#x27;t get the importance of it. What can this do that termux openssh can&#x27;t?<p>Can I mount remote filesystems at the system level via sshfs?
评论 #42367372 未加载
评论 #42367208 未加载
hagbard_c5 个月前
Installed it just now - don&#x27;t forget to enable incoming connections on the firewall (AFWall+) if you happen to use one - and did some experimenting, especially to find out whether it would open up the device to the deluge of ssh probing. Even though those probes will (in a sane universe) not succeed they&#x27;re unwelcome anyway. I do notice the device listens on port 22 on both IPv4 and IPv6. Fortunately it is possible to change this by editing <i>&#x2F;data&#x2F;ssh&#x2F;sshd_config</i> where I disabled IPv6 (not necessary in this context) and changed the listening port. You never know on which network your device will end up after all.
评论 #42374787 未加载
nickcw5 个月前
I wonder if that includes the SFTP server component of openssh?<p>If so it would be very useful for use with rclone. I back up my phone by running an sshd in termux then using rclone with sftp remotely. This works very well (until the phone decides on a whim to kill the sshd!).
评论 #42368987 未加载
tacomagick5 个月前
The project looks awesome. If this was also done using Shizuku it would be pretty cool aswell.
paravz5 个月前
my rsync backup use case over usb and adb (with adb root)<p>start rsync daemon: adb root adb forward tcp:6010 tcp:11873 adb shell &quot;rsync --daemon --port 11873 --config=&#x2F;sdcard&#x2F;rsyncd.conf &amp;&quot;<p>rsync: rsync -rltHDhP --stats --size-only --append-verify --partial --delete rsync:&#x2F;&#x2F;localhost:6010&#x2F;root&#x2F;data&#x2F;data&#x2F; &#x2F;backup&#x2F;data<p>cleanup: adb kill-server<p>&#x2F;sdcard&#x2F;rsyncd.conf for the phone: address = 127.0.0.1 uid = root gid = root [root] path = &#x2F; read only = true
sammyo5 个月前
A (super easy to set up) rsync on IPhone that can &quot;see&quot; the itunes music folder would be a huge boon and likely change the world for the better!
评论 #42373816 未加载