Commit 863c8a3b authored by ls1947's avatar ls1947
Browse files

add '"' to command and from

parent 36f872b0
......@@ -182,11 +182,11 @@ public class SshLoginServiceImpl implements SshLoginService {
StringBuffer sb = new StringBuffer();
for (SshPubKeyRegistryEntity regKey : regKeyList) {
if (regKey.getUsageType().equals(SshPubKeyUsageType.COMMAND)) {
sb.append("command=");
sb.append("command=\"");
sb.append(regKey.getCommand());
sb.append(" from=");
sb.append("\" from=\"");
sb.append(regKey.getFrom());
sb.append(" ");
sb.append("\" ");
}
sb.append(regKey.getSshPubKey().getKeyType());
sb.append(" ");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment