Score:0

Allow specific IPv6 user to SSH into your server

ro flag

I have these settings in one of my servers.

Port 923
PermitRootLogin no
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
AllowUsers root code
Match Address 75.67.232.42
ListenAddress ::

I used to whitelist my home IP: 75.67.232.42 and it works

But now it updated to IPv6. I got locked out of my server but still have access via the provider.

How do I fix that? I've tried adding ListenAddress::

user535733 avatar
cn flag
Try the IPv6 address on your `Match Address` line. See https://unix.stackexchange.com/questions/658184 for a similar problem and the correct syntax to solve it.
code-8 avatar
ro flag
I tried it after the comma, and it is not working. I even restart the ssh too
code-8 avatar
ro flag
Do I need do somthing else after that ?
code-8 avatar
ro flag
Yeah I did as I mentioned.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.