Update README.md

This commit is contained in:
tgic 2014-12-09 12:11:47 +08:00 • committed by Boshi Lian
parent 3c51e84300
commit 86568e764f

View file

@ -27,6 +27,14 @@ go get github.com/tg123/sshpiper/sshpiperd
go install github.com/tg123/sshpiper/sshpiperd go install github.com/tg123/sshpiper/sshpiperd
``` ```
## Run with Docker
```
docker run -d -p 2222:2222 -v /etc/ssh/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key -v /YOUR_WORKING_DIR:/var/sshpiper farmer1992/sshpiperd
```
[what is WORKING_DIR](#files-inside-working-dir)
## Quick start ## Quick start
Just run `showme.sh` in [sshpiperd exmaple directory](sshpiperd/example) Just run `showme.sh` in [sshpiperd exmaple directory](sshpiperd/example)
@ -164,7 +172,6 @@ sshpiper use a [modified version](ssh) of [golang.org/x/crypto/ssh](http://golan
* more friendly log * more friendly log
* check of key's perm * check of key's perm
* additional challenge (like google authenticator support) before send auth to upstream * additional challenge (like google authenticator support) before send auth to upstream
* Dockerfile
* deb package * deb package
* live upgrade * live upgrade
* unit test * unit test