Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2024 14:15:05 -0500
From:      Paul M Foster <paulf@quillandmouse.com>
To:        Walter Parker <walterp@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Enabling SSHD
Message-ID:  <20240129191505.4xfntt4zbqsfmjdp@yosemite.mars.lan>
In-Reply-To: <CAMPTd_Df3vkozA9EzjTbTrp5eaqUPEHZH=Zh79WRzScy6dKwdQ@mail.gmail.com>
References:  <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan> <CPja5CJLsYzkPuo_qd5lnJuUj6lBBCW2uHo3NcbFubhGSKa2gNEu0ETvjZSAwI_-rQFuVvUJR2s10xbz40uL17k1lpLSCiz8azHd77S9LK8=@proton.me> <BHs6axVCDQRUWc9O5KLVIF5b9tVo_qUIXZfJ3ASj6U-6sfJKBhcSrOn_VWfYfrxOQyFSEZKLjQuHbBKJ57NuwR-jAl7kDRYp7ix7bDVgCfk=@proton.me> <20240129134722.fbwrvamdf2wx4vik@yosemite.mars.lan> <4f60fad9-c5b1-46ea-bfbf-7e654bd5d3d1@FreeBSD.org> <20240129155758.2nnyjihsyiyxztib@yosemite.mars.lan> <CAMPTd_Df3vkozA9EzjTbTrp5eaqUPEHZH=Zh79WRzScy6dKwdQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240129191505.4xfntt4zbqsfmjdp>