Think it generates bad the keys I’m a little lost, I attach the catches the way I try to connect and permits, if you see any mistake I’ll appreciate your feedback.
How I try to connect with private key :
$ ssh -i id_rsa dietpi@10.10.2.2
dietpi@10.10.2.2's password: