Skip to content

Fails when ssh_config for host contains ProxyJump none #1445

@cdleonard

Description

@cdleonard

From ssh_config manual:

Setting the host to none disables this option entirely.

However pyinfra will attempt to proxy-jump through the literal hostname "none" and fail on the name resolution step.

The underlying paramiko SSHConfig library has custom handling for ProxyCommand none but not ProxyJump none. It might make sense for pyinfra to handle it itself because it already has a whole bunch of customization on top of paramiko.

There is a paramiko bug open for this: paramiko/paramiko#2285

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