Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Ipv6 ssh in systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ivanoff
n00b
n00b


Joined: 05 Dec 2004
Posts: 32
Location: Toulouse France

PostPosted: Sun Dec 30, 2012 10:39 am    Post subject: [Solved] Ipv6 ssh in systemd Reply with quote

Hi all,
I use systemd sshd.socket instead of sshd.service and I cannot use ipv6 for ssh.

It works fine on my archlinux machine:
Code:
LISTEN      0      128                                                                 :::ssh                                                                  :::*   

but on gentoo I have (only ipv4):
Code:
LISTEN      0      128                                                                  *:ssh                                                                   *:*       

Where do you think that comes from ?
It's not coming from the Listen directive in sshd_config. By default ipv6 is activated in the config file.
Code:
ListenAddress ::

If you have any ideas ? Thanks !
_________________
Linux, because you know what it is doing.


Last edited by ivanoff on Wed Jul 10, 2013 5:35 am; edited 1 time in total
Back to top
View user's profile Send private message
ivanoff
n00b
n00b


Joined: 05 Dec 2004
Posts: 32
Location: Toulouse France

PostPosted: Wed Jul 10, 2013 5:35 am    Post subject: Reply with quote

I finally found what was wrong. What was wrong is I didn't compile the ipv6 support directly in the kernel (<*>) and instead compiled it as a module (<M>).
I followed more carefully the systemd page on gentoo wiki and now everything's fine.
_________________
Linux, because you know what it is doing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum