[SOLVED]Ssh connection refused Raspberry PI 4B

[SOLVED]Ssh connection refused Raspberry PI 4B

Postby mageia83 » Nov 29th, '22, 08:31

Hello ,

I have mageia 8 running on a raspberry pi 4B and I can not connect to it via ssh.

I have opened the external port on shorewall and I have sshd running.

When you put username and password in putty, it tells me access denied and the user and password are correct. Someone passes or has mageia in a pi working?.

Greetings and thank you very much 😃😃😃

PS: done the same on another PC I connect perfectly with putty.
mageia83
 
Posts: 2
Joined: Nov 29th, '22, 08:23

Re: Ssh connection refused Raspberry PI 4B

Postby doktor5000 » Dec 2nd, '22, 19:06

Hi there, the output of ssh -vv user@raspberry from the client machine would be helpful and after trying to login the output as root of
Code: Select all
systemctl status sshd -al -n100
on the server side.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Ssh connection refused Raspberry PI 4B

Postby mageia83 » Dec 5th, '22, 16:43

Hello,
I have solved the problem, the configuration was correct, simply with the root user (I don't know why), it won't let me login. With another user of the system everything works correctly.

Thanks for the reply :D
mageia83
 
Posts: 2
Joined: Nov 29th, '22, 08:23

Re: Ssh connection refused Raspberry PI 4B

Postby doktor5000 » Dec 5th, '22, 19:38

mageia83 wrote:simply with the root user (I don't know why), it won't let me login.

Depending on the security level, PermitRootLogin is set to "No" (which it should be set to anyways IMHO).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest