Files
wiki/mobile/README.md
2025-02-04 00:14:31 +00:00

20 lines
276 B
Markdown

# iOS: iSH shell
```
apk add openssh
/etc/ssh/sshd_config
Port 2222
PermitRootLogin yes
AllowTcpForwarding yes
GatewayPorts yes
killall sshd
/usr/sbin/sshd
```
Client
```
ssh -vvv -D 1080 -qCN root@10.0.0.2 -p 2222
curl -v --socks5 localhost:1080 http://httpbin.org/ip
```