2 - Secure SSH

Did I lose my “home” folder and all website files?

I was configuring SSH access security.

I changed the door, accessed it, everything was fine.

I went back to the panel, went to key configuration. I put a key in, clicked to save.

There was an error on the page, I refreshed it, I no longer accessed the panel. I tried to access the website, it didn’t open anymore. I tried to connect via FTP, but “421 Home directory not available”.

What happened, after all, I lost my installation and, with it, all the site files?

How can I correct this and regain access via IP, as I had to return the site to the previous server while I resolve this situation?