Add use_sudo and userparams to upload_rsa