One possibility is, “Don’t use Compass’s ssh facility, do it yourself.” See my responses in this discussion: Connect Compass with remote database via two ssh tunnels … of course, you’d only need one tunnel for what you’re describing.
1 Like