You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
530 B
Markdown
30 lines
530 B
Markdown
obfsshd
|
|
=============
|
|
|
|
this is obfsshd example
|
|
|
|
|
|
usage
|
|
=====
|
|
|
|
run server
|
|
|
|
go get github.com/fangdingjun/obfssh/obfsshd
|
|
|
|
cp $GOPATH/src/github.com/fangdingjun/obfssh/obfsshd/config_example.yaml config.yaml
|
|
|
|
vim config.yaml
|
|
|
|
ssh-keygen -f ssh_host_rsa_key -t rsa
|
|
|
|
$GOPATH/bin/obfsshd -c config.yaml
|
|
|
|
|
|
run client
|
|
|
|
go get github.com/fangdingjun/obfssh/obfssh
|
|
|
|
$GOPATH/bin/obfssh -N -D :1234 -p 2022 -l user2 -pw user2 localhost
|
|
|
|
this will create a socks proxy on :1234
|