You can use authorized keys to log in to a host with SSH. You can upload authorized keys with HTTPS PUT.
You can upload the following types of SSH keys to a host using HTTPS PUT:
- Authorized keys file for root user
- DSA key
- DSA public key
- RSA key
- RSA public key
Important: Do not modify the
/etc/ssh/sshd_config file.
Procedure
- In your upload application, open the key file.
- Publish the file to the following locations.
Type of key Location Authorized key files for the root user https://hostname_or_IP_address/host/ssh_root_authorized_keys You must have full administrator privileges on the host to upload this file.
DSA keys https://hostname_or_IP_address/host/ssh_host_dsa_key DSA public keys https://hostname_or_IP_address/host/ssh_host_dsa_key_pub RSA keys https://hostname_or_IP_address/host/ssh_host_rsa_key RSA public keys https://hostname_or_IP_address/host/ssh_host_rsa_key_pub