APatch
APatch copied to clipboard
ssh连接错误
Please check before submitting an issue/在提交 issue 前请检查
- [x] I have searched the issues and haven't found anything relevant/我已经搜索了 issues 列表,没有发现于本问题相关内容
- [x] If patch failed, root failed, or device unable to boot after flashing the new boot.img. Please goto KernelPatch/修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
- [x] I will upload bugreport file in APatch Manager - Settings - Report log/我会上传 bureport 文件从 APatch 管理器 - 设置 - 发送日志
- [ ] I know how to reproduce the issue which may not be specific to my device/我知道如何重新复现这个问题
Version requirement/版本要求
- [x] I am using latest CI version of APatch/我正在使用最新 CI 版本
Describe the bug/描述 bug
在aptach 实现root的系统中,使用eadb和termux都出现使用sshd时,无响应,在magisk中不会出现
Reproduce method/复现方法
1.eadb/termux 2.sshd -d 3.DOS/bash ssh [email protected] -p 8022 ssh: connect to host 192.168.59.240 port 8022: Connection refused
Expected behavior/预期行为
不知道啥情况,在安卓ssh服务端没有任何提示
Actual behaviour /实际行为
Screenshots/截图
No response
Logs/日志
APatch_bugreport_2025-04-30_16_14.tar.gz
Device Name/设备名称
pixel 7
OS Version/系统版本
android 13
APatch Version/APatch 版本
11039
Kernel Version/内核版本
5.10.189
KernelPatch Version/KernelPatch 版本
0.11.2
Additional context/其他信息
另找到一篇因内核配置导致ssh连接失败的文章 https://blog.csdn.net/qq_42907191/article/details/143956981
Have you give root access in terminal? And after inside in terminal, write su and press enter.
i use the termux sshd server and that works.
hope it can usefull.
ln -s /system/bin/su /data/data/com.termux/files/usr/bin/su