mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Termius fixes
This commit is contained in:
parent
13c9644ff5
commit
2d1e5298a9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue