Not Able To Connect To Remote Database Through Ssh Tunneling In Python
I'm trying to connect to a remote database through ssh tunneling. But I am getting an error when I try to connect. Below is my code and the error def query(q): with SSHTunnelFo
Solution 1:
Use ssh_pkey
parameter of SSHTunnelForwarder
constructor to provide the path to your private key file (not the public key .pub
).
Post a Comment for "Not Able To Connect To Remote Database Through Ssh Tunneling In Python"