diff --git a/obfscp/README.md b/obfscp/README.md index 790bb33..8c6639d 100644 --- a/obfscp/README.md +++ b/obfscp/README.md @@ -1,16 +1,16 @@ obfssh\_scp ========= -obfssh\_scp is a scp style sftp client support use obfssh encryption +obfscp is a scp style sftp client by golang, support connect to server via TLS usage ==== - obfssh\_scp user@host:/path/to/file local + obfscp user@host:/path/to/file local or - obfssh\_scp local user@host:/path/to/file + obfscp local user@host:/path/to/file diff --git a/obfssh/README.md b/obfssh/README.md index cff616b..ed19740 100644 --- a/obfssh/README.md +++ b/obfssh/README.md @@ -1,7 +1,7 @@ obfssh\_client ============= -this is obfssh\_client example +this is obfssh example usage @@ -9,27 +9,27 @@ usage run server - go get github.com/fangdingjun/obfssh/obfssh_server + go get github.com/fangdingjun/obfssh/obfsshd - cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_server/config_example.yaml server_config.yaml + 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/obfssh_server -c server_config.yaml + $GOPATH/bin/obfsshd -c server_config.yaml run client - go get github.com/fangdingjun/obfssh/obfssh_client + go get github.com/fangdingjun/obfssh/obfssh - $GOPATH/bin/obfssh_client -N -D :1234 -obfs_key some_keyworld -obfs_method rc4 -p 2022 -l user2 -pw user2 localhost + $GOPATH/bin/obfssh -N -D :1234 -p 2022 -l user2 -pw user2 localhost or - cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_client/config_example.yaml client_config.yaml + cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh/config_example.yaml client_config.yaml vim client_config.yaml - $GOPATH/bin/obfssh_client -f client_config.yaml + $GOPATH/bin/obfssh -f client_config.yaml diff --git a/obfsshd/README.md b/obfsshd/README.md index bdbdcb7..7856a29 100644 --- a/obfsshd/README.md +++ b/obfsshd/README.md @@ -1,7 +1,7 @@ -obfssh\_server +obfsshd ============= -this is obfssh\_server example +this is obfsshd example usage @@ -9,21 +9,21 @@ usage run server - go get github.com/fangdingjun/obfssh/obfssh_server + go get github.com/fangdingjun/obfssh/obfsshd - cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_server/config_example.yaml config.yaml + 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/obfssh_server -c config.yaml + $GOPATH/bin/obfsshd -c config.yaml run client - go get github.com/fangdingjun/obfssh/obfssh_client + go get github.com/fangdingjun/obfssh/obfssh - $GOPATH/bin/obfssh_client -N -D :1234 -obfs_key some_keyworld -obfs_method rc4 -p 2022 -l user2 -pw user2 localhost + $GOPATH/bin/obfssh_client -N -D :1234 -p 2022 -l user2 -pw user2 localhost this will create a socks proxy on :1234 diff --git a/obfsshd/config_example.yaml b/obfsshd/config_example.yaml index 3dba7be..24c004a 100644 --- a/obfsshd/config_example.yaml +++ b/obfsshd/config_example.yaml @@ -10,6 +10,7 @@ listen: key: cert: - + # this listen for TLS port: 2023 key: server.key cert: server.crt