mirror of https://github.com/huashengdun/webssh
Updated README
parent
1f835f5a70
commit
f52b2f5156
|
@ -50,9 +50,12 @@ A simple web application to be used as an ssh client to connect to your ssh serv
|
||||||
### Server options
|
### Server options
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# listen address and port
|
# start a http server with specified listen address and listen port
|
||||||
wssh --address='0.0.0.0' --port=8000
|
wssh --address='0.0.0.0' --port=8000
|
||||||
|
|
||||||
|
# start a https server
|
||||||
|
wssh --certfile='cert.crt' --keyfile='cert.key'
|
||||||
|
|
||||||
# missing host key policy
|
# missing host key policy
|
||||||
wssh --policy=reject
|
wssh --policy=reject
|
||||||
|
|
||||||
|
|
|
@ -55,9 +55,12 @@ Server options
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# listen address and port
|
# start a http server with specified listen address and listen port
|
||||||
wssh --address='0.0.0.0' --port=8000
|
wssh --address='0.0.0.0' --port=8000
|
||||||
|
|
||||||
|
# start a https server
|
||||||
|
wssh --certfile='cert.crt' --keyfile='cert.key'
|
||||||
|
|
||||||
# missing host key policy
|
# missing host key policy
|
||||||
wssh --policy=reject
|
wssh --policy=reject
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue