Connection test failed: java.util.regex.PatternSyntaxException: Stack overflow during pattern
compilation near index 1 [ ] ^
java.lang.StackOverflowError
at java.base/java.util.regex.Pattern.error(Pattern.java:2028)
at java.base/java.util.regex.Pattern.<init>(Pattern.java:1432)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1069)
at java.base/java.lang.String.split(String.java:3151)
at java.base/java.lang.String.split(String.java:3197)
at com.jcraft.jsch.OpenSSHConfig$MyConfig.<init>(OpenSSHConfig.java:187)
at com.jcraft.jsch.OpenSSHConfig.getConfig(OpenSSHConfig.java:148)
at org.elasticsearch4idea.kM.a(SourceFile:72)
at org.elasticsearch4idea.kM.a(SourceFile:85)
During local connection: OK
SSH Config:
Host *
AddKeysToAgent yes
LogLevel ERROR
StrictHostKeyChecking ask
ForwardAgent yes
Host bastion-internal
HostName ...
User ...
Host bastion-aws
HostName ...
User ...
Host bastion*
ControlMaster auto
ControlPath ~/.ssh/ssh-conn:%n
ControlPersist 5m
# 0.0.* - the first part of the IP of the bastion-aws
Match Host="0.0.*" !Exec "nc -z -w1 -q0 %h %p"
ProxyJump bastion-internal
Host elastic-server
User ...
HostName ...
ProxyJump bastion-aws
During remote connection via Proxy Jump: KO
During local connection: OK
SSH Config:
Environment information: