Skip to content

Commit 6fe2aa4

Browse files
committed
Work around SSHJ change that makes it confuse host key algorithms
1 parent 04aaac3 commit 6fe2aa4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/main/java/com/github/theholywaffle/teamspeak3/SSHChannel.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
import java.io.OutputStream;
4242
import java.nio.charset.StandardCharsets;
4343
import java.security.PublicKey;
44+
import java.util.Collections;
45+
import java.util.List;
4446

4547
class SSHChannel implements IOChannel {
4648

@@ -122,5 +124,10 @@ protected boolean hostKeyChangedAction(String hostname, PublicKey key) {
122124
" for {} in your known hosts file ({}).", hostname, khFile);
123125
return false;
124126
}
127+
128+
@Override
129+
public List<String> findExistingAlgorithms(String hostname, int port) {
130+
return Collections.emptyList();
131+
}
125132
}
126133
}

0 commit comments

Comments
 (0)