Im connecting for the first time to a remote git server using bash.
These were my steps:
Loaded the existing key in PUTTYgen
Saved the .ppk private key and then exported to my .ssh as OpenSSH under the name id_rsa
then I added the .ppk to PAGEANT
On PUTTY, I entered the server IP I want to connect on port 22 and then went to SSH/AUTH in order to enter the path for the private key> C:\Users\Fabio.ssh\id_rsa
Still in PUTTY, I went back to sessions, selected the IP, clicked on load, and then on open (things then loaded as if I could connect)
then on git bash i entered
$ ssh -i "C:\users\path\to\id_rsa" "username@ip"
But at the end of this process I keep being asked on git bash for password. 3 times, actually and then -permission denied(public key).
Also, I add a variable GIT_SSH in the system pointing to PLINK.
What am I missing here, please?