cPanel API 2 Modules - SSH
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The SSH module manages SSH keys.
Available functions
-
cPanel API 2 Functions -
SSH::authkey— This function authorizes an SSH key. -
cPanel API 2 Functions -
SSH::converttoppk— This function converts an SSH key to PuTTY's PPK file format. -
cPanel API 2 Functions -
SSH::delkey— This function deletes an SSH key. -
cPanel API 2 Functions -
SSH::fetchkey— This function retrieves an SSH key. -
cPanel API 2 Functions -
SSH::genkey— This function generates an SSH key. -
cPanel API 2 Functions -
SSH::genkey_legacy— This function generates an SSH key. -
cPanel API 2 Functions -
SSH::importkey— This function imports an SSH key. -
cPanel API 2 Functions -
SSH::listkeys— This function lists SSH keys.