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 3b9fb72ce3 set dialer timeout to 15 seconds 7 years ago
..
.gitignore update .gitignore 8 years ago
README.md update README 7 years ago
config.go remove obfsucation, use tls instead 7 years ago
config_example.yaml update sample config 7 years ago
config_test.go rename 8 years ago
proxy.go add timeout for dial 7 years ago
ssh.go set dialer timeout to 15 seconds 7 years ago

README.md

obfssh_client

this is obfssh example

usage

run server

go get github.com/fangdingjun/obfssh/obfsshd

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

vim server_config.yaml

ssh-keygen -f ssh_host_rsa_key -t rsa

$GOPATH/bin/obfsshd -c server_config.yaml

run client

go get github.com/fangdingjun/obfssh/obfssh

$GOPATH/bin/obfssh -N -D :1234 -p 2022 -l user2 -pw user2 localhost

or

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

vim client_config.yaml

$GOPATH/bin/obfssh -f client_config.yaml