mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Handle multiple sshds
This commit is contained in:
parent
fc72fa3a79
commit
c18a159504
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ public class SshLocalBridge {
|
|||
if (exec.isEmpty()) {
|
||||
throw ErrorEvent.expected(new IllegalStateException("No sshd executable found in PATH. The SSH terminal bridge requires a local ssh server"));
|
||||
}
|
||||
return exec.get();
|
||||
return exec.get().lines().findFirst().orElseThrow();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue