Publishing to a server with RSA key

My server doesn’t use a normal password, RSA keys instead. How can I do this with the Publishing Manager?
Thanks,
Tom