Skip to content

Monitor port does not work over IPv6 #12

@tvidal-net

Description

@tvidal-net

I have an SSH Tunnel over IPv6, with a command similar to:

export AUTOSSH_GATETIME=0 AUTOSSH_POLL=120
autossh -M 13000 -NT -o ControlMaster=no -L "13080:[::1]:13080" -6 "example.com"

And it keeps getting the error:

autossh[41343]: 127.0.0.1:13000: Connection refused
autossh[41343]: port down, restarting ssh

Would it be too much work to have autossh detect the -6 command line option and use [::1] instead of 127.0.0.1 to check the monitor port?

Is there any suggestion for a workaround?

Thank you.

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