Add mobile/README.md
This commit is contained in:
20
mobile/README.md
Normal file
20
mobile/README.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# 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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user