23 lines
294 B
Markdown
23 lines
294 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 localhost:1080 http://httpbin.org/ip
|
|
``` |