Openssh on ipv6 only jail

Frank de Bot (lists) lists at searchy.net
Wed Nov 4 21:26:17 UTC 2015


Hi,

I've a jail setup with only ipv6. I want to use openssh as ssh daemon.
When ssh to the jail, it ask for password, accepts it shows motd and
then everything freezes. I also get a shell line like '[searchy at ipv6only
~]$ '. The client isn't even able to use key sequences like ~. to
terminate. Only when sshd processes are killed on the server, the
connection is released, everything I tried to send over ssh, is now in
my local terminal

I've found out that this behaviour isn't occuring when I set up the jail
with ipv4 too. Even when openssh is only listening on ipv6, there is no
problem.

My jail config is:

ipv6only {
        host.hostname = "ipv6only";
#       ip4.addr = x.x.x.224;
        ip6.addr = x:x:x:4::7;
        path = "/opt/jails/ipv6only";
}

what can cause it hang so badly when using only ipv6? there is no
difference between shells.

Regards,

Frank de Bot


More information about the freebsd-ports mailing list