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.
fangdingjun f2aee4a407 add missing err handle
process upper case proxy environment variable
8 years ago
..
.gitignore first version 8 years ago
README.md update README 8 years ago
config.go obfssh_client: add proxy support 8 years ago
config_example.yaml obfssh_client: add proxy support 8 years ago
config_test.go obfssh_client: add proxy support 8 years ago
proxy.go add missing err handle 8 years ago
ssh.go add debug log for proxy 8 years ago

README.md

obfssh_client

this is obfssh_client example

usage

run server

go get github.com/fangdingjun/obfssh/obfssh_server

cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_server/config_example.yaml server_config.yaml

vim server_config.yaml

ssh-keygen -f ssh_host_rsa_key -t rsa

$GOPATH/bin/obfssh_server -c server_config.yaml

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

or

cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_client/config_example.yaml client_config.yaml

vim client_config.yaml

$GOPATH/bin/obfssh_client -f client_config.yaml