Openssh on ipv6 only jail
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Sun Nov 8 23:18:57 UTC 2015
> On 05 Nov 2015, at 07:45 , Frank de Bot <lists at searchy.net> wrote:
>
> Bjoern A. Zeeb wrote:
>>
>>> On 04 Nov 2015, at 21:18 , Frank de Bot (lists) <lists at searchy.net> wrote:
>>>
>>> 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.
>>
>>
>> ports might not be the best list. I have been running IPv6-only jails for years and I have IPv6-only VMs.
>>
>> Just to clarify, what version of FreeBSD base system, what version of world for the jail, and which version of openssh do you have?
>>
>> /bz
>
> Because the sshd that comes with the base is working fine, I tought it
> could be a problem with the port itself.
Just to confirm, base sshd is fine, the ports sshd shows the problem?
>
> The openssh version is: OpenSSH_7.1p1, OpenSSL 1.0.1p-freebsd 9 Jul 2015
>
> The base system is build from source Revision 287954
Thanks.
More information about the freebsd-ports
mailing list