Commit e1a03b94 by Sheng

Updated README.md

parent 24f53533
...@@ -26,12 +26,12 @@ python main.py ...@@ -26,12 +26,12 @@ python main.py
# configure listen address and port # configure listen address and port
python main.py --address='0.0.0.0' --port=8000 python main.py --address='0.0.0.0' --port=8000
# configure logging level
python main.py --logging=debug
# configure missing host key policy # configure missing host key policy
python main.py --policy=warning python main.py --policy=warning
# configure logging level
python main.py --logging=debug
# log to file # log to file
python main.py --log-file-prefix=main.log python main.py --log-file-prefix=main.log
...@@ -55,3 +55,4 @@ location / { ...@@ -55,3 +55,4 @@ location / {
### Tips ### Tips
* Try to use Nginx as a front web server (see config example above) and enable SSL, this will prevent your ssh credentials from being uncovered. Also afterwards the communication between your browser and the web server will be encrypted as they use secured websockets. * Try to use Nginx as a front web server (see config example above) and enable SSL, this will prevent your ssh credentials from being uncovered. Also afterwards the communication between your browser and the web server will be encrypted as they use secured websockets.
* Try to use reject policy for handling missing host key, this will prevent man-in-the-middle attacks.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment