From owner-freebsd-questions@freebsd.org Wed Feb 10 05:17:50 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9882D539B75 for ; Wed, 10 Feb 2021 05:17:50 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Db7Lj53skz3CxV for ; Wed, 10 Feb 2021 05:17:49 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id D7E14138FB for ; Tue, 9 Feb 2021 23:17:41 -0600 (CST) Received: by mail.geeks.org (Postfix, from userid 1003) id CCBC2138F9; Tue, 9 Feb 2021 23:17:41 -0600 (CST) Date: Tue, 9 Feb 2021 23:17:41 -0600 From: Doug McIntyre To: "freebsd-questions@freebsd.org" Subject: Re: Permission denied via ssh over ipv6 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4Db7Lj53skz3CxV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.153.247.1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[geeks.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[204.153.247.1:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2021 05:17:50 -0000 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.