Unable to SSH into Server
techlists at phpcoderusa.com
techlists at phpcoderusa.com
Mon Nov 4 10:58:05 MST 2024
Turned out to be a mis-configuration of /etc/ssh/sshd_config.
Thanks!!
On 2024-10-21 23:22, Rusty Carruth via PLUG-discuss wrote:
> The other questions are all great, but can you ssh from the server to
> itself as the desired user? That is, ssh theSSHdude at 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: PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list