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

"Error reading SSH protocol banner" occured when trying link a remote server through a jump server #214

Open
jluxiaotao opened this issue Jul 6, 2021 · 0 comments

Comments

@jluxiaotao
Copy link

Like the example on the webpage of pypi, code like this below:
`from jumpssh import SSHSession

establish ssh connection between your local machine and the jump server

gateway_session = SSHSession('gateway.example.com',
... 'my_user', password='my_password').open()

from jump server, establish connection with a remote server

remote_session = gateway_session.get_remote_session('remote.example.com',
... password='my_password2')`

SSH connection between my local machine and jump server is successful established.
But when trying to establish connection with the remote server, "Error reading SSH protocol banner" occured immediately.
This Traceback to paramiko.transport._check_banner.

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

No branches or pull requests

1 participant