I just bought an old Raspberry Pi 2 simply to use it for PiHole and as a recursive DNS at home.
I downloaded the image (https://raspi.debian.net/tested-images/), dd'd it onto the SD card and booted the system. All normal up to this point. Then I set a root password with passwd and shut down the pi again to actually hook it up to my router via cable.
After that, I powered it on again and tried to connect to it via SSH from my desktop, but couldn't. Whatever I try, I just get a "Permission denied." error:
Code: Select all
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
The password has to be correct, as I hooked up the Pi to a monitor and keyboard again and the same password works when entered directly. I tried looking through /etc/ssh/sshd_config, but found nothing that would prevent a remote login.
I then tried to load updates, but I just got "Failed to fetch..." errors, so I can't even update or install software directly.
However, my router sees the Pi with its correct IP-address and I can ping it from my desktop, so I really don't know what's wrong.
Does anybody have an idea what could be the issue?