#5845 Allow password with spaces

上级 f512fd45
......@@ -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.
先完成此消息的编辑!
想要评论请 注册