DataGrip and SSH Tunnels with JumpHost, specified in openssh config
I am not able to connect with OpenSSH config which contains a jump host configuration.
Datagrip detects some settings (e.g. port) and therefore even wildcards are resolved correctly.
Please have a look at https://gravitational.com/teleport/docs/architecture/#teleport-cluster to undestand the working jump host configuration.
The connection always fails with something like:
Connection to @ipaddress failed: SSH: connection is closed by foreign host.
SSH: connection is closed by foreign host
ssh config file contains:
Host *.example.com
Port 3022
User vagrant
ForwardAgent yes
IdentityFile ~/.tsh/keys/teleport.example.com/myuser
ProxyCommand ssh -i ~/.tsh/keys/teleport.example.com/myuser -p 3023 %r@10.11.1.11 -s proxy:%h:%p
i am able to connect through shell, without passphrase or anything else by just invoking (no ssh-agent ):
ssh db03.example.com
I would expect the same would be possible through datagrip.
Please sign in to leave a comment.
@Robert Rettig,
I created an issue https://youtrack.jetbrains.com/issue/IDEA-216138 based on your descritption.
It would be great if you attach full IDE logs to YouTrack ticket.