Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sshtunnel not working with python 3.9 #270

Open
enzococca opened this issue Jan 11, 2023 · 1 comment
Open

sshtunnel not working with python 3.9 #270

enzococca opened this issue Jan 11, 2023 · 1 comment

Comments

@enzococca
Copy link

Hi, I noted that sshtunnel not working with python 3.9 but working with python 3.10.

the error it's the same:

Could not establish session to SSH gateway
<class 'sshtunnel.SSHTunnelForwarder'> object
ssh gateway: remote ip:22
proxy: no
username: *****
authentication: {'pkeys': [(***********************************************************************)]}
hostkey: not checked
status: not started
keepalive messages: every 5.0 sec
tunnel connection check: disabled
concurrent connections: allowed
compression: not requested
logging level: ERROR
local binds: [('0.0.0.0', 0)]
remote binds: [('localhost', 5432)]

do you know why?
is it possible to fix it?

ps: I put * for personal data

thanks E

@manma83
Copy link

manma83 commented Aug 23, 2023

Running pip install paramiko==2.7.2 should fix the issue. It seems that the latest version of paramiko is not compatible with Python 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants