Re: Enabling SSHD

From: Paul M Foster <paulf_at_quillandmouse.com>
Date: Mon, 29 Jan 2024 15:57:58 UTC
On Mon, Jan 29, 2024 at 02:15:19PM +0000, Matthew Seaman wrote:

[snip]

> how to configure it.  If you want password based auth for sshd, then go
> ahead and edit /etc/ssh/sshd_config and/or /etc/pam.d entries, as
> appropriate.

Assuming I want to login as any user on the system, hacking pam shouldn't
be necessary, right?

I've made the following changes to the stock /etc/ssh/sshd_config:

PubkeyAuthentication no
PermitRootLogin yes
PasswordAuthentication yes

And of course, restarted the daemon each time I made a change. However,
when I try to ssh in in the following ways:

ssh paulf@buckaroo
ssh root@buckaroo
ssh buckaroo
ssh 192.168.254.30

I get a flat "Permission denied (password,keyboard-interactive)". Not even
an attempt to ask for a password.

Clearly something's wrong, but I have no idea what. And I have googled the
problem and visitied numerous sites to no avail.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster