Page 1 of 1

[SOLVED]Ssh connection refused Raspberry PI 4B

PostPosted: Nov 29th, '22, 08:31
by mageia83
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.

Re: Ssh connection refused Raspberry PI 4B

PostPosted: Dec 2nd, '22, 19:06
by doktor5000
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.

Re: Ssh connection refused Raspberry PI 4B

PostPosted: Dec 5th, '22, 16:43
by mageia83
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

Re: Ssh connection refused Raspberry PI 4B

PostPosted: Dec 5th, '22, 19:38
by doktor5000
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).