but even though I see no errors anywhere (and the port 3306 is open checking with nmap), I can't connect to the remote MySQL, while it works perfectly well with the ssh -L command. Any idea what I'm doing wrong or how to get more debugging information?
I'm just trying to convert this:
"ssh -L 3306:remote-mysql-host:3306 bastion"
to the equivalent ssh-clj code, so I was trying something like this:
but even though I see no errors anywhere (and the port 3306 is open checking with nmap), I can't connect to the remote MySQL, while it works perfectly well with the
ssh -L
command. Any idea what I'm doing wrong or how to get more debugging information?