# SSH Keys and Connections Authentication / SSH Keys and Connections ## Enable SSH key for server - [GET /authorizesshkey](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/authorizesshkey.md): This function authorizes a public SSH key to access the server. When you call this function, it adds the key to the file. * Do transfer private keys over insecure ports. * Only and -enabled resellers can use this function, and it only affects the public SSH keys. To perform this function on a regular user account, call the cPanel API 2 function via the WHM API. For more information, read our Use WHM API to Call cPanel API and UAPI documentation. ## Validate SSH connection to another server - [GET /check_remote_ssh_connection](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/check_remote_ssh_connection.md): This function tests an SSH connection to another server. ## Migrate OpenSSH key to PuTTY format - [GET /convertopensshtoputty](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/convertopensshtoputty.md): This function converts an OpenSSH private key to a PuTTY key. Do transfer private keys over insecure ports. ## Delete SSH key - [GET /deletesshkey](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/deletesshkey.md): This function function deletes an SSH key from the server. Only the account can use this function, and it only affects the keys. To perform this function on a cPanel user account, call the cPanel API 2 function through the WHM API. ## Create SSH key pair - [GET /generatesshkeypair](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/generatesshkeypair.md): This function generates an SSH key pair. ## Import SSH key - [GET /importsshkey](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/importsshkey.md): This function imports an SSH key. ## Return SSH keys list - [GET /listsshkeys](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/listsshkeys.md): This function lists the server's SSH keys. Only the account can use this function, and it only affects the keys. To perform this function on a regular user account, call the cPanel API 2 function through the WHM API. ## Return cPanel account access hash (deprecated) - [GET /accesshash](https://api.docs.cpanel.net/specifications/whm.openapi/ssh-keys-and-connections/accesshash.md): This function regenerates or retrieves a user's access hash. For more information about access hashes, read our Remote Access Key documentation. We this function. We suggest that you use the WHM API 1 function.