Unable to connect via SSH with ProxyCommand in config
-
Database version (Ex: PostgreSQL 10.0): MySQL 5.6
-
TablePlus version (the number on the welcome or about screen, Ex: build 81): Build 54
-
Linux distro (Ex: Ubuntu 18.04): Ubuntu 20.04
-
The steps to reproduce this issue:
I have a ~/.ssh/config file with names for several servers behind a bastion host on a private subnet. One such server is "rep3" inside my config file. This also happens if I rename it to "rep3.domain.tld"
The config line simply looks like this:
Host rep3
ProxyCommand ssh -q bastion_host_ip nc mysql_private_ip 22
When I try to connect I get a dialog saying "SSH Error: Failed to connect!"
I know my config and key work, as I ssh into that host on a regular basis. Any Ideas?
It looks like TablePlus may be creating SSH connections directly (perhaps with a bundled library), and the ssh config is ignored.
The fact that a user has to manually specify the private key for a connection would also point to this conclusion.
I'm hoping this is just a "first draft" of ssh connectivity-- in it's current state it poses a large stumbling block for anybody who needs to use an ssh config, or pass options to ssh. Ideally we'd see the same feature-set as the mac client in a later release (the mac client does respect your ssh config, private key, etc.)