From nobody Mon Jan 29 19:15:05 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 4TNyg20WVWz59Fbc for ; Mon, 29 Jan 2024 19:15:10 +0000 (UTC) (envelope-from paulf@quillandmouse.com) Received: from seashell.cherry.relay.mailchannels.net (seashell.cherry.relay.mailchannels.net [23.83.223.162]) (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 4TNyg13XlQz45GD for ; Mon, 29 Jan 2024 19:15:09 +0000 (UTC) (envelope-from paulf@quillandmouse.com) Authentication-Results: mx1.freebsd.org; none X-Sender-Id: dreamhost|x-authsender|paulf@quillandmouse.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D510B942B15; Mon, 29 Jan 2024 19:15:07 +0000 (UTC) Received: from pdx1-sub0-mail-a231.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 79FA8942C3D; Mon, 29 Jan 2024 19:15:07 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1706555707; a=rsa-sha256; cv=none; b=kGn/tGrHr3Iu/qqL00vYA/vMYdoiek7PsT3b4qu/HrkFMiAo5YBRBWzSnkjzSzM5HDfX8k /EsFYXrAxWgSuUlaURNv1EPYcZ5eur/A1/Sp0mL4rOGDtR/7Ub1YjWERqDbfGdLS8CwZOZ XCBZxTvSR0uD5i9mA+s8JskGD3FzSXLOLjQWnZfO1eVU/Oeewnxf7sIwLwm8rrs+qJk+nR aprWO0a6zHiVcJy6QVQ+5DS0rLQNav9BX/YbnUp4Z3O+Xw+OatTbWMo5t+aRtkCLj1N7TR p0TAIX+INK+a+HXNYvmjUHXSwmIPmh+1tHzKpQ451HRPYi2F73GGeZOrgOS5Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1706555707; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:dkim-signature; bh=9NcN642fASGbZkjC0fPi+QBA47G4l8rzJve6MOhjD5o=; b=1XbtA8dQJ8uKFkZyf3viZTkEfEQI8cKImK52Dq3niLGmB/bh0GFiX/8w0RG9Qgg41EGhuJ RQYvr/t87GXOzC/BtQafxSbXWLj+xPDYke5L75MoWX3srAiiLmLN2SN7TNmNVRXgHdKyXX 2nk0wuQvRL5OLk4gno70ize25bSVJ9jkWY45B0XsSU3mFoAYu0idggVg6CDa6LhLXrokWi sFo1uoiQ9zwmth/ItKzA3LxtezGrI5+g9NnEsJ5YhXjM9fQSOTOcRzax+TkiSTsGcJz+Vu oNJB3C5pxKU+++EhzN2UDeQtfI6el9JyAeqLJJftoTovi1M1DI+feMJm9Y/JKA== ARC-Authentication-Results: i=1; rspamd-6fdd97fffb-ddjhw; auth=pass smtp.auth=dreamhost smtp.mailfrom=paulf@quillandmouse.com X-Sender-Id: dreamhost|x-authsender|paulf@quillandmouse.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|paulf@quillandmouse.com X-MailChannels-Auth-Id: dreamhost X-Ruddy-Little: 60084ba105cebd6f_1706555707724_1949107780 X-MC-Loop-Signature: 1706555707724:1025632201 X-MC-Ingress-Time: 1706555707724 Received: from pdx1-sub0-mail-a231.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.123.181.199 (trex/6.9.2); Mon, 29 Jan 2024 19:15:07 +0000 Received: from yosemite.mars.lan (unknown [47.205.190.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: paulf@quillandmouse.com) by pdx1-sub0-mail-a231.dreamhost.com (Postfix) with ESMTPSA id 4TNyfz28jQz2b; Mon, 29 Jan 2024 11:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quillandmouse.com; s=dreamhost; t=1706555707; bh=9NcN642fASGbZkjC0fPi+QBA47G4l8rzJve6MOhjD5o=; h=Date:From:To:Cc:Subject:Reply-To:Content-Type; b=skJOAYFy/OPaB2Nk360qvMLTSlfOw51x0ClBTe+v5uVpDGFwm+EZRZj3bClYnCved UrXDGRhEx9NJ35rfO0wijboHoYTR9g3hcWZ5/D8tIwuz7SihFxNBF3IFkSD2/rzoAk 8gRMOydQ/oq3fNtJ3+bCnztjzhRM71rz7Goaq973Il/2iR1u+jkHj4PCu7ieY4k2OD 8zYnyjQn2y6Q6j2iUTMQ8iJogDu0ZM/QwMKt44x0aAv+tS3X6GEbcDi0XR89KP6fik +Qi88x6Z2AaxOPYvu1oG5WeIcDUbKJ7a4cFjcnYfvZBSJ6gCRNR1nAH6SK6KE1I2K+ votlFu56Wyqxg== Received: from paulf by yosemite.mars.lan with local (Exim 4.96) (envelope-from ) id 1rUX61-00G1Wj-2o; Mon, 29 Jan 2024 14:15:05 -0500 Date: Mon, 29 Jan 2024 14:15:05 -0500 From: Paul M Foster To: Walter Parker Cc: freebsd-questions@freebsd.org Subject: Re: Enabling SSHD Message-ID: <20240129191505.4xfntt4zbqsfmjdp@yosemite.mars.lan> Reply-To: paulf@quillandmouse.com References: <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan> <20240129134722.fbwrvamdf2wx4vik@yosemite.mars.lan> <4f60fad9-c5b1-46ea-bfbf-7e654bd5d3d1@FreeBSD.org> <20240129155758.2nnyjihsyiyxztib@yosemite.mars.lan> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4TNyg13XlQz45GD X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:63213, ipnet:23.83.223.0/24, country:CA] On Mon, Jan 29, 2024 at 10:30:52AM -0800, Walter Parker wrote: > For a permission denied error, check to see if the files have the > correct permission (home dir, -/.ssh, other files as used). Also check > your client to make sure it has the proper permissions. On the server (the BSD machine) there are no ~/.ssh files for my user. Does that matter? On the Linux box (the client), my local ssh files are all okay. I routinely ssh into other (Linux) boxes on my network. > > The other way to find errors is to start sshd (from the command line) > with -d and/or -v flags and then try to connect using your ssh client. > The sshd server will out logging as to what the errors are. It may tell > you what is causing the permission denied error. Lots of gobbledegook, except maybe this: debug1: userauth-request for user paulf service ssh-connection method none [preauth] Then it does a couple of other things and closes the connection. Paul -- Paul M. Foster Personal Blog: http://noferblatz.com Company Site: http://quillandmouse.com Software Projects: https://gitlab.com/paulmfoster