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.

36 lines
795 B
Markdown

8 years ago
obfssh\_client
=============
this is obfssh\_client example
usage
=====
run server
go get github.com/fangdingjun/obfssh/obfssh_server
8 years ago
cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_server/config_example.yaml server_config.yaml
8 years ago
8 years ago
vim server_config.yaml
8 years ago
ssh-keygen -f ssh_host_rsa_key -t rsa
8 years ago
8 years ago
$GOPATH/bin/obfssh_server -c server_config.yaml
8 years ago
run client
go get github.com/fangdingjun/obfssh/obfssh_client
$GOPATH/bin/obfssh_client -N -D :1234 -obfs_key some_keyworld -obfs_method rc4 -p 2022 -l user2 -pw user2 localhost
8 years ago
or
cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_client/config_example.yaml client_config.yaml
vim client_config.yaml
8 years ago
8 years ago
$GOPATH/bin/obfssh_client -f client_config.yaml