Termius fixes

This commit is contained in:
crschnick 2024-08-29 03:12:17 +00:00
parent 13c9644ff5
commit 2d1e5298a9

View file

@ -23,7 +23,7 @@ public class SshLaunchExchangeImpl extends SshLaunchExchange {
if (msg.getArguments() != null if (msg.getArguments() != null
&& usedDialect.isEmpty() && usedDialect.isEmpty()
&& !msg.getArguments().contains("SSH_ORIGINAL_COMMAND")) { && !msg.getArguments().contains("SSH_ORIGINAL_COMMAND")) {
throw new BeaconClientException("Unexpected argument: " + msg.getArguments()); return Response.builder().command(List.of()).build();
} }
// There are sometimes multiple requests by a terminal client (e.g. Termius) // There are sometimes multiple requests by a terminal client (e.g. Termius)