22 lines
235 B
Bash
22 lines
235 B
Bash
#!/bin/bash
|
|
|
|
s=$1
|
|
p=$2
|
|
u=$3
|
|
|
|
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
|