Hello,
I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
but still port 22 (ssh) is hold by tcp6.
netstat show
tcp6 ..22[ssh] ..1/init
?
no more inet6 on ifconfig
when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
fail by port already in use?
Any idea?
many thanks in advance
Hello,
I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
but still port 22 (ssh) is hold by tcp6.
netstat show tcp6 ..22[ssh] ..1/init
?
no more inet6 on ifconfig when I try starting sshd (/etc/ini.d/ssh or
service ssh restart ) it fail by port already in use?
Any idea?
many thanks in advance
After reconfiguring a server like sshd, you need to restart it for the
change to take effect: sudo systemctl restart sshd
and then: sudo systemctl status sshd
to check that the changed configuration is OK and sshd gas restarted correctly.
Re: ipv6
By: zeneca to All on Sun Jul 11 2021 11:34 am
> Hello,
> I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
> but still port 22 (ssh) is hold by tcp6.
> netstat show
> tcp6 ..22[ssh] ..1/init
>
> ?
> no more inet6 on ifconfig
> when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
> fail by port already in use?
> Any idea?
> many thanks in advance
I don't know how Raspbian maages it, but some distributions apply sysctl.conf and then load the
networking modules, which overwrites the sysctl instructions.
Use sysctl -a | grep ipv6 once the system is up and running to check the variables are set as you
want them to be.
--
gopher://gopher.richardfalken.com/1/richardfalken
Martin Gregorie <martin@mydomain.invalid> wrote:
After reconfiguring a server like sshd, you need to restart it for the
change to take effect: sudo systemctl restart sshd
and then: sudo systemctl status sshd
to check that the changed configuration is OK and sshd gas restarted
correctly.
If you just edited sysctl.conf, that setting won't take effect until you reboot or do 'sysctl -p'. And then restart sshd.
Theo
Hello,
I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
but still port 22 (ssh) is hold by tcp6.
netstat show
tcp6 ..22[ssh] ..1/init
?
no more inet6 on ifconfig
when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
fail by port already in use?
Any idea?
many thanks in advance
Hello,First many thanks to everybody who answered.
I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
but still port 22 (ssh) is hold by tcp6.
netstat show
tcp6 ..22[ssh] ..1/init
?
no more inet6 on ifconfig
when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
fail by port already in use?
Any idea?
many thanks in advance
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 376 |
Nodes: | 16 (2 / 14) |
Uptime: | 24:36:40 |
Calls: | 8,035 |
Calls today: | 5 |
Files: | 13,034 |
Messages: | 5,829,137 |