You can use authorized keys to log in to a host with SSH. You can upload authorized keys with HTTPS PUT.
Authorized keys allow you to authenticate remote access to a host. When users or scripts try to access a host with SSH, the key provides authentication without a password. With authorized keys you can automate authentication, which is useful when you write scripts to perform routine tasks.
You can upload the following types of SSH keys to a host using HTTPS PUT:
Authorized keys file for root user
DSA public key
RSA public key
Do not modify the /etc/ssh/sshd_config file.
- In your upload application, open the key file.
- Publish the file to the following locations.
Type of key
Authorized key files for the root user
You must have full administrator privileges on the host to upload this file.
DSA public keys
RSA public keys