Unable to connect to remote Database using SSH tunneling from a Docker Container Unable to connect to remote Database using SSH tunneling from a Docker Container docker docker

Unable to connect to remote Database using SSH tunneling from a Docker Container


Oh, i fixed the issue. It was because the WORKDIR in my Dockerfile was pointing to the root location and I had to write the relative path in the ssh_pkey='oalkey.openssh' to ssh_pkey='app/var/www/oalkey.openssh'. Simple :-)