people! I am trying to upload my project in laravel to a vps with an SSH key through PuTTY in Windows. I installed everything on the server (LEMP, Composer and Git), I can only do a push with git but I get this error and I can not understand it. I have the same SSH key on GitHub and Digital Ocean, which is where I have the VPS. I have searched the internet but I have not found anything that was useful for my case, I saw several tutorials too but they all use some Linux or MacOS distro where they can generate SSH without installing anything extra. It's the first time I try to deploy on a VPS and I would appreciate it if someone could guide me.
Warning: Permanently added '104.146.105.54' (ECDSA) to the list of known
hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Thanks in advance.