23 lines
303 B
Markdown
23 lines
303 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
|
|
```
|
|
|
|
## Wireguard
|
|
|
|
|
|
## Client
|
|
```
|
|
ssh -vvv -D '*:1080' -qCN root@10.0.0.2 -p 2222
|
|
|
|
curl -v --socks5 172.17.118.175:1080 http://httpbin.org/ip
|
|
``` |