Skip to content

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

@jluxiaotao

Description

@jluxiaotao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions