Description
This function retrieves the server's SSH port.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
port |
integer |
The server's SSH port. |
A positive integer. |
22 |