AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

ssh tunnel doesn't ask for, nor allow a specific remote host #62

Closed apatrida closed 2 years ago

apatrida commented 2 years ago

The SSH tunnel option has the SSH host itself, and your connection to the tunnel (localhost:{port}) but no where does it ask for the remote host that the connection should be forwarded to.

For example with a SSH tunnel:

ssh ubuntu@remotehost.whatever.com -L 10443:eshost.private.whatever.com:443 -N

I would connect to localhost:10443 as my connection, but notice I need two other hosts specified. The plugin does not have this option.

AntonShuvaev commented 2 years ago

Hello,

Could you try to specify eshost.private.whatever.com:443 in URL field on the General tab and ubuntu@remotehost.whatever.com in Host field on the SSH tab?