Re: key is being refused
You must upload only public key part to the server!
If the server needs private key, it is probably its private key. I.e. the one whose public key part fingerprint you see on the first attempt. I.e. the one you use to authenticate the server. It is not the one you use to authenticate yourself with the server.
If the server needs private key, it is probably its private key. I.e. the one whose public key part fingerprint you see on the first attempt. I.e. the one you use to authenticate the server. It is not the one you use to authenticate yourself with the server.