Wenn ich versuche, mich per SSH an einem frisch installierten
Raspi anzumelden, dann erhalte ich diesen Fehler:
1234567
uli:~$ ssh ubuntu@192.168.0.186
The authenticity of host '192.168.0.186 (192.168.0.186)' can't be established.
ECDSA key fingerprint is SHA256:Zi+H2BeAHrWlomrcpktmYu+asI5N951voxDOVJ/icRE.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.0.186' (ECDSA) to the list of known hosts.
Received disconnect from 192.168.0.186 port 22:2: Too many authentication failures
Disconnected from 192.168.0.186 port 22
Ursache sind die vielen SSH-Schlüssel, die in meinem SSH-Unterverzeichnis
bereitliegen und allesamt nicht auf dem Raspi hinterlegt sind.
So geht’s:
123456789
uli:~$ ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no ubuntu@192.168.0.186
ubuntu@192.168.0.186's password:
You are required to change your password immediately (administrator enforced)
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1028-raspi armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
...