From owner-freebsd-ports@freebsd.org Wed Nov 4 21:26:17 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59CBCA26D43 for ; Wed, 4 Nov 2015 21:26:17 +0000 (UTC) (envelope-from lists@searchy.net) Received: from j006.host001.searchy.nl (j006.host001.searchy.nl [79.143.214.199]) by mx1.freebsd.org (Postfix) with ESMTP id 1E00F15B2 for ; Wed, 4 Nov 2015 21:26:16 +0000 (UTC) (envelope-from lists@searchy.net) Received: from [192.168.5.21] (5418453B.cm-5-1b.dynamic.ziggo.nl [84.24.69.59]) (Authenticated sender: ppi@j006.host001.searchy.nl) by j006.host001.searchy.nl (Postfix) with ESMTPSA id 6CBC61E8D29 for ; Wed, 4 Nov 2015 21:18:40 +0000 (UTC) Message-ID: <563A762D.7030400@searchy.net> Date: Wed, 04 Nov 2015 22:18:37 +0100 From: "Frank de Bot (lists)" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.31 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Openssh on ipv6 only jail Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2015 21:26:17 -0000 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@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