From nobody Sat Feb 10 06:03:26 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TX0X40BnQz59009 for ; Sat, 10 Feb 2024 06:03:32 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from slateblue.cherry.relay.mailchannels.net (slateblue.cherry.relay.mailchannels.net [23.83.223.168]) (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 4TX0X25vlvz47RJ for ; Sat, 10 Feb 2024 06:03:30 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=menhennitt.com.au header.s=dreamhost header.b=E3r+5l4U; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (mx1.freebsd.org: domain of graham@menhennitt.com.au designates 23.83.223.168 as permitted sender) smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 184892C30A3 for ; Sat, 10 Feb 2024 06:03:29 +0000 (UTC) Received: from pdx1-sub0-mail-a202.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B72512C4328 for ; Sat, 10 Feb 2024 06:03:28 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1707545008; a=rsa-sha256; cv=none; b=1z/93eF/C2rFscLCsgcXNw3AiX0bBkSNyycizQtRs5to+uJCragI0yKxyDivWg1tKJgAJ3 N5glSf7ARCyKRvfgCIWtijfZs9uja7OjejGjRbNAeEZURUjtvAW488Ku9GWujfAaEOi8LT REGWCP2uX7xbUR/Ud7ZmvYaE0AntNHXa6DrGvjN0IlvrCoLwR/YyiGlYI8CYOLb85glbOI OuB0TEb4ycAb5oIr82TWcofD7yRrXNttqhamDRFUEe1NOtt03azPhds9/FVw8pk9/W4Un+ mZ+phZZ51+r+v0gtFEyJqvVr2aCEeRGgARxkwpcLMAIMi8iqK8ymTG8gE2LG8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1707545008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=JL1IErZWsExzgVVOQTuvN6UMdzdQD4r9Wuew5ULBy8c=; b=iGL09z12VfPZ+H9vHqQnjrwp0bxpYcwgRNjrUS6aNWn5l1b/iuZpZmX95/v/6vWvEH40p+ SY0KamJeNoliIsJE0ttngoVwPFAZtqx25oZpLCC33VTQMun/qnXTb5OtrSGk+4EzBNZSwu xbIxTyHrkyXWUsAOvcdKNR/WqM6bEjsXmjgQjbzMoQgQSLn3Qfn40tL19FSyAn7d8951r/ YQA0gRG2Q/waP7nk57XoyYWJePkGhzYEIcpaHTC42GvwXWSeiS1fz48CxgEhXtEoTNhou0 y6x69U9CVfg8OZgpjKxxO3EJXxL+q8+cCs1+zOrlh2fcTRCmoEnL3yu72AJLOA== ARC-Authentication-Results: i=1; rspamd-55b4bfd7cb-l6nf7; auth=pass smtp.auth=dreamhost smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|graham@menhennitt.com.au X-MailChannels-Auth-Id: dreamhost X-Shade-Continue: 0cd7d960003a7a2e_1707545008956_1424731292 X-MC-Loop-Signature: 1707545008956:304632324 X-MC-Ingress-Time: 1707545008956 Received: from pdx1-sub0-mail-a202.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.180.201 (trex/6.9.2); Sat, 10 Feb 2024 06:03:28 +0000 Received: from [203.3.73.118] (unknown [203.221.161.136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by pdx1-sub0-mail-a202.dreamhost.com (Postfix) with ESMTPSA id 4TX0X01JCCz7L for ; Fri, 9 Feb 2024 22:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=menhennitt.com.au; s=dreamhost; t=1707545008; bh=JL1IErZWsExzgVVOQTuvN6UMdzdQD4r9Wuew5ULBy8c=; h=Date:From:Subject:To:Content-Type:Content-Transfer-Encoding; b=E3r+5l4UKFfOXcAR5HJQOOiFtZavMD7jfcp1jHHggxBoTvd0cSmqaN1bbRit/du5K 5O5zOsJ84Ei/YHo0hwdc9UlctLO1teqj4AymCY4mHqrq6dRwK8KF1gUsLq9dIq4SZb WNUKRUYr/MatCSseIBX6XURA08IhLP/fNrVv/xZh1WP9dmOwRseCFjsGhMUuerOLZC YuPgaYkt4OxOzaLHe68hGx0ROtv6z8IZM5hvn4fDDqjP9JqREIW5j73GaG/E0+5gac XMzG2Bp9buPb5DQAm1EN2gBJwUlU+63lW++PxXTmD8xZFFZtx2MkJKBNdqPCCDG36u 9zOcZ2nRLM5fg== Message-ID: <296848ac-9121-4b9b-a514-6da8ed2d3af1@menhennitt.com.au> Date: Sat, 10 Feb 2024 17:03:26 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Graham Menhennitt Subject: putty from Windows to FreeBSD 14.0 says "Server refused our key" To: freebsd-questions@freebsd.org Content-Language: en-AU Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[mailchannels.net:s=arc-2022:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; RWL_MAILSPIKE_VERYGOOD(-0.20)[23.83.223.168:from]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20:c]; R_DKIM_ALLOW(-0.20)[menhennitt.com.au:s=dreamhost]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:63213, ipnet:23.83.223.0/24, country:CA]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[23.83.223.168:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[menhennitt.com.au]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[menhennitt.com.au:+] X-Rspamd-Queue-Id: 4TX0X25vlvz47RJ Hello list, I have a box that I recently upgraded to FreeBSD 14.0. It all appears to be working ok except for one thing. When I attempt to use Putty on Windows to connect to it using SSH, I get an error "Server refused our key" and it drops back to password authentication. I have not modified sshd_config from the default. I've used this same key for many years from Putty and from other FreeBSD boxes. It still works successfully from FreeBSD 13 to FreeBSD 14, but not from Putty to FreeBSD 14. In auth.log on the FreeBSD 14 box, I can see that it says "userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]". So, I guess that I could fix this by modifying sshd_config, but I don't understand why it works from FreeBSD 13 but not Putty. Something that may be related (but I'm not sure). When I use password authentication from Putty, it appears that it doesn't read my .bashrc. When I login from FreeBSD 13, it does read .bashrc. Does anybody have any clues, please. Thanks in advance,     Graham