Connect to database through two ssh tunnels in IntelliJ IDEA
问题 I'm trying to add a postgresql database as a datasource in IntelliJ IDEA Ultimate. I've worked with a datasource through ONE ssh tunnel already. But now the database server is behind a firewall which only accepts ssh connections from a management server. The only way to access the db server goes over the management server. So I (or IntelliJ) have to connect via ssh to this server and then, by using another user, tunnel via ssh to the database server. Everything clear? :-D The problem is, that