Software Development Kit

cPanel & WHM's API [+] cPanel & WHM's API [-]


Modules and Plugins [+] Modules and Plugins [-]


cPanel & WHM Hooks [+] cPanel & WHM Hooks [-]


cPAddons (Site Software) [+] cPAddons (Site Software) [-]


System Administration [+] System Administration [-]


Developer Software [+] Developer Software [-]


Back to All Documentation



integrationblogcta.jpg

SSH Module Documentation

The SSH module allows you to create, modify, and retrieve SSH keys.

The functions within this module may or may not be governed by a feature list. The required feature list may vary from function to function, to review a total list of the available features sets on a cPanel server, please see "Feature Manager" in WHM.

SSH::getport

API Version: 1 - Click here for documentation
Syntax: SSH::getport( )
Description: Retrieve the server's SSH port.
Returns:  
 
This function just outputs the port number, such as:
22

Topic revision: r2 - 27 Mar 2012 - 19:23:40 - Main.JenniferDoubrava