I changed the private key on my computer using ssh-keygen (I know... Why would anyone do this? A: I have no idea what I'm doing :#) and now every time I try to ssh into one of my raspberry pi's it tells me
Permission denied (publickey).. I know there have been other posts on this with very good answers (a.k.a. The answer from mfa298 on this post https://www.raspberrypi.org/forums/viewtopic.php?p=1314932). The answers to previous posts seemed to either answer what went wrong (which is immensely useful) but not necessarily how to fix it once it is already screwed up or the suggestions did not work to fix my issue. Also, I tend to periodically use the same SD card on multiple pi's. I have tried removing the keys for the pi so that I can ssh into it using the password but am receiving the same issue. #improbablydoingitwrong
My Q: How do I make my computer and raspberry pi play nice again?
I know this has been addressed before but if someone could help me decipher what I need to do to make this go away, I would be very happy. I am doing all this headless but am able to console cable into the pi.
Project specifics: I am using a raspberry pi zero that I am trying to set up as a usb/ethernet gadget according to the adafruit tutorial (https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget). I am using the latest version of rasbian lite (or very close to it).