Package: autossh Version: 1.4e-3 Severity: normal Tags: upstream, ipv6 If ssh (OpenSSH, Debian package version 1:7.4p1-10 as currently in Debian Stretch) is called with option "-6", all local port forwardings only listen in IPv6 localhost (i.e. ::1) only, too.
But autossh attempts to pass traffic on the monitor forwarded port" only on 127.0.0.1 which causes the error message connect_to 127.0.0.1: unknown host (Address family for hostname not supported) and then kills and respawns the SSH connection. An easy way to reproduce this on a IPv6-capable host is this simple command: env AUTOSSH_POLL=2 autossh -6 localhost -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages autossh depends on: ii libc6 2.24-10 ii openssh-client [ssh-client] 1:7.4p1-10 autossh recommends no packages. autossh suggests no packages. -- no debconf information

