!47 delete password command param in gs_sshexkey which is not safe

Merge pull request !47 from zhangxubo/master
This commit is contained in:
hangjin2020 2021-02-03 15:04:04 +08:00 committed by Gitee
commit a8b34e42ef

View File

@ -170,7 +170,6 @@ General options:
-l Path of log file.
--skip-hostname-set Whether to skip hostname setting.
(The default value is set.)
-W Password of nodes.
-?, --help Show help information for this utility,
and exit the command line mode.
-V, --version Show version information.
@ -197,8 +196,6 @@ General options:
self.logFile = paraDict.get("logFile")
if ("skipHostnameSet" in paraDict.keys()):
self.skipHostnameSet = paraDict.get("skipHostnameSet")
if ("passwords" in paraDict.keys()):
self.passwd = paraDict.get("passwords")
if ("noDeduplicate" in paraDict.keys()):
self.nodeduplicate = paraDict.get("noDeduplicate")