You can use authorized keys to log in to a host with SSH. You can upload authorized keys with a vifs command.

Note

Lockdown mode does not apply to root users who log in using authorized keys. When you use an authorized key file for root user authentication, root users are not prevented from accessing a host with SSH when the host is in lockdown mode.

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:

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.

At the command line, use the vifs command to upload the SSH key to appropriate location.

vifs --server hostname --username username --put filename /host/ssh_host_dsa_key_pub

Type of key

Location

Authorized key files for the root user

/host/ssh_root_authorized keys

You must have root user privileges to upload this file.

DSA keys

/host/ssh_host_dsa_key

DSA public keys

/host/ssh_host_dsa_key_pub

RSA keys

/host/ssh_host_rsa_key

RSA public keys

/host/ssh_host_rsa_key_pub