From e1a03b94f48f04d8229f37d70f79ae93f6ee54f4 Mon Sep 17 00:00:00 2001 From: Sheng Date: Fri, 16 Mar 2018 15:07:28 +0800 Subject: [PATCH] Updated README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d569f78..575b6a8 100644 --- 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.