sqlectron-gui
sqlectron-gui copied to clipboard
Support for loading ssh configuration from `~/.ssh/config`
Does SQLECTRON support for loading ssh configuration from ~/.ssh/config
?
I want to connect to DB via multi ssh tunnels.
So I configured ssh configuration in ~/.ssh/config
as below and I tried connecting to DB via hostA
.
But when I did it, connection error has occurred with a message Error invoking remote method 'DB_CONNECT': Error: getaddrinfo ENOTFOUND hostA
.
So it seems that ssh configuration is not loaded.
Is there any way to connect to DB via multi ssh tunnels?
Host hostX
HostName 192.168.10.10
User username
IdentityFile ~/.ssh/id_rsa
Host hostA
HostName 192.168.20.10
User username
IdentityFile ~/.ssh/id_rsa
ProxyCommand ssh -W %h:%p hostX
my environment
OS: Ubuntu 20.04
SQELECTRON: 1.37.1
upvote!