18 lines
213 B
Plaintext
18 lines
213 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
clear
|
||
|
|
echo Server:
|
||
|
|
read s
|
||
|
|
echo Port:
|
||
|
|
read p
|
||
|
|
echo User:
|
||
|
|
read u
|
||
|
|
clear
|
||
|
|
echo SOCKS5 proxy:
|
||
|
|
echo localhost:4444
|
||
|
|
echo 127.0.0.1:4444
|
||
|
|
echo 0.0.0.0:4444
|
||
|
|
ssh $u@$s -p $p -ND 4444
|
||
|
|
echo 'Disconnected.'
|
||
|
|
read -n1
|