mirror of
https://github.com/nwtgck/handy-sshd.git
synced 2025-06-09 15:43:14 +00:00
docs: "--help"
This commit is contained in:
parent
24a4ed6871
commit
26baea535c
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -22,3 +22,21 @@ handy-sshd -p 2222 --user "john:" --user "alice:"
|
||||||
# Listen on unix domain socket
|
# Listen on unix domain socket
|
||||||
handy-sshd --unix-socket /tmp/my-unix-socket --user "john:"
|
handy-sshd --unix-socket /tmp/my-unix-socket --user "john:"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## --help
|
||||||
|
|
||||||
|
```bash
|
||||||
|
Portable SSH server
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
handy-sshd [flags]
|
||||||
|
|
||||||
|
Flags:
|
||||||
|
-h, --help help for handy-sshd
|
||||||
|
--host string SSH server host (e.g. 127.0.0.1)
|
||||||
|
-p, --port uint16 SSH server port (default 2222)
|
||||||
|
--shell string Shell
|
||||||
|
--unix-socket string Unix-domain socket
|
||||||
|
--user stringArray SSH user name (e.g. "john:mypassword")
|
||||||
|
-v, --version show version
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue