Skip to content

Commit

Permalink
threw out unsupported option keys mwiede#104
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedemam-VU committed Dec 17, 2021
1 parent a89b91e commit 4cc0692
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/jcraft/jsch/OpenSSHConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
public class OpenSSHConfig implements ConfigRepository {

private static final Set<String> keysWithListAdoption = Stream
.of("KexAlgorithms", "Ciphers", "HostbasedAcceptedAlgorithms",
"HostKeyAlgorithms", "MACs", "PubkeyAcceptedAlgorithms", "CASignatureAlgorithms", "PubkeyAcceptedKeyTypes")
.of("KexAlgorithms", "Ciphers","HostKeyAlgorithms", "MACs", "PubkeyAcceptedAlgorithms", "PubkeyAcceptedKeyTypes")
.map(String::toUpperCase).collect(Collectors.toSet());

/**
Expand Down

0 comments on commit 4cc0692

Please sign in to comment.