Permission denied via ssh over ipv6

Yuri Pankov yuripv at yuripv.dev
Wed Feb 10 08:47:50 UTC 2021


PstreeM China wrote:
> hi:
> 
> thanks for your quickly reply.
> ssh -vvv log as below, we can see the connection has already established,
> but after input the password, it's not work..
> i'am sure the password is right, try modify the passwd has the same issue.
> 
> about the DNS PTRs, how should i do ? the source is my home pc, not have
> DNS domain.
> 
> --------------------------------
> rpi% ssh myuser at 2607:f130::6287 -vvv
> OpenSSH_7.9p1, OpenSSL 1.1.1h-freebsd  22 Sep 2020
[...]
> debug1: Local version string SSH-2.0-OpenSSH_7.9 FreeBSD-20200214
> debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
[...]
> Permission denied, please try again.
> myuser at 2607:f130::6287's password:

 From your original question it's not clear whether FreeBSD 12.2 system 
is the client or server, and given the above I'm guessing it's the 
former as remote version doesn't say "FreeBSD" and is otherwise 
outdated; correct?

Also, are you able to connect to 2607:f130::6287 from any other host to 
make sure it's correct address to use and is accepting v6 connections?

> On Wed, Feb 10, 2021 at 1:18 PM Doug McIntyre <merlyn at geeks.org> wrote:
> 
>> On Wed, Feb 10, 2021 at 11:47:08AM +0800, PstreeM China wrote:
>>> Very thanks, this problem has searched from google, but not find the
>>> solution to fix this issue.
>>>
>>> new install FreeBSD in virtual machine.
>>> Freebsd version is 12.2
>>> Duel stack support ipv4 and ipv6; enable sshd as default.
>>> I can ping the ipv4 and ipv6 address.
>>>
>>> The problem is:
>>> SSH over ipv4 is work well.
>>> But ssh over ipv6, Can be connected, but after input the password, it is
>>> failed , give the notify : permission denied.
>>> can not log into the server.
>>> I am sure the password is right.
>>
>>
>> Have you run 'ssh -vvv' to see all the very verbose debug information?
>>
>> Do you have proper DNS PTRs setup for your IPv6 block? It could be
>> blocked by mismatch reverse DNS.


More information about the freebsd-questions mailing list