commit e1a03b94f48f04d8229f37d70f79ae93f6ee54f4
parent 24f53533bd4c4131e0ba4cd6fd6e97a7f3127a6f
Author: Sheng <webmaster0115@gmail.com>
Date: Fri, 16 Mar 2018 15:07:28 +0800
Updated README.md
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -26,12 +26,12 @@ python main.py
# configure listen address and port
python main.py --address='0.0.0.0' --port=8000
-# configure logging level
-python main.py --logging=debug
-
# configure missing host key policy
python main.py --policy=warning
+# configure logging level
+python main.py --logging=debug
+
# log to file
python main.py --log-file-prefix=main.log
@@ -55,3 +55,4 @@ location / {
### 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 reject policy for handling missing host key, this will prevent man-in-the-middle attacks.