Re: Unable to SSH into Server

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith via PLUG-discuss
Date:  
To: Arun Khan
CC: techlists, Main PLUG discussion list
Subject: Re: Unable to SSH into Server
On 2024-11-04 11:35, Arun Khan wrote:
> On Mon, Nov 4, 2024 at 10:58 AM Keith Smith via PLUG-discuss
> <> wrote:
>
>> Turned out to be a mis-configuration of /etc/ssh/sshd_config.
>>
>> Thanks!!
>
> What was the misconfiguration? Please share the details, so others can
> learn from your experience



When I opened /etc/ssh/sshd_config there was no AllowUsers. So I added
it to the bottom of the file. I only added the user that I was going to
use for ssh/owner of the Docroot.

I was then unable to SSH into my server, as I recall, by the new user.

When I initially installed Ubuntu 24.04lts server it asked me for a user
and password. I had to add that user to the new AllowUsers line in the
/etc/ssh/sshd_config file. At that point I was able to SSH into the
server using either username.


>
> -- Arun Khan

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss