You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using sshtunnel for a long time to connect to my mysql database on a linode server. Recently it stopped working. It is showing me the following error:
ERROR | Password is required for key
I use the following script to connect to the remote server.
which incorrectly emits an error message, when this message should be classed as a warning.
I have successfully monkey-patched this code to emit a warning, which I can then ignore, in my own code. There are multiple threads about this issue in various forums, and the general advice seems to be "just ignore it, it's not an error, your code will keep working" ... I beg to differ, it literally is an error, and that line is where it's thrown.
I mention this in the hopes that line can be changed to logger.warning ... but in the mean time, if you'd like to keep using this library as-is, you can monkey-patch the read_private_key_file function in sshtunnel.py.
I have been using sshtunnel for a long time to connect to my mysql database on a linode server. Recently it stopped working. It is showing me the following error:
ERROR | Password is required for key
I use the following script to connect to the remote server.
I can connect to the server through SSH just fine otherwise - through terminal. Just not happening through sshtunnel module.
The text was updated successfully, but these errors were encountered: