提交 2df0967f 编写于 作者: S ShadelessFox

#5845 Allow password with spaces


Former-commit-id: a6fb10d9
上级 2309fe65
......@@ -178,7 +178,7 @@ public class SSHImplementationJsch extends SSHImplementationAbstract {
"-m", "PEM",
"-f", tmp.getAbsolutePath(),
"-q",
"-N", CommonUtils.isEmpty(password) ? "\"\"" : password)
"-N", '"' + (CommonUtils.isEmpty(password) ? "" : password) + '"')
.start();
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册