Re: Unable to SSH into Server

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rusty Carruth via PLUG-discuss
Date:  
To: plug-discuss
CC: Rusty Carruth
Subject: Re: Unable to SSH into Server
The other questions are all great, but can you ssh from the server to
itself as the desired user?  That is, ssh theSSHdude@localhost , which
should hopefully rule out network issues ;-)

I'll also mention that I had a weird issue with SSH where I could ssh
from machine A to machine B, but not from B to A!  THAT turned out to be
a netmask issue!  And ChatGPT ALMOST got the answer. You could try your
favorite AI to see if it can help, but be sure to give it more info than
you think you should - I should have given it the output of ifconfig on
both computers and it probably would have caught it....

On 10/21/24 18:46, Keith Smith via PLUG-discuss wrote:
> Hi,
>
> I am a little stuck.
>
> I am trying to configure a user that will allow me to log into an
> Ubuntu 24.04lts server via SSH.
>
> I created a line : "AllowUsers default" in /etc/ssh/sshd_config
>
> Then sudo systemctl restart ssh
>
> Try to login and get "client_loop: send disconnect: Broken pipe"
>
> sudo tail /var/log/faillog returns nothing.
>
> I can SSH into the server from my Kubuntu desktop under the default
> user created during server o/s install
>
> A search says it is probably a network issue.  Does not make sense
> given I can SSH in using another user.
>
> Any thoughts are much appreciated.
>
> Keith
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

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