If your web host allows, you can easily access SSH via the Terminal feature in cPanel. The SSH protocol enables you to remotely manage your server, including configuring CGI scripts and other tasks.
If you require SSH access to upload and download files using an FTP program manually, you will need to configure SSH Access.
Note: The Terminal should only be used by users who know what they are doing. Entering the wrong commands here can render your server inoperable.
How to access SSH using the cPanel Terminal
Accessing your server using the Terminal feature is as simple as logging into your cPanel account and clicking a couple of links.
Under the Advanced Panel, click the Terminal icon.
You must read and accept the warning notice when using the Terminal feature.
Click “I understand and want to proceed” when ready.
Note: This warning does not appear in future sessions.
After step 2, your command-line interface will open, ready for you to enter any commands.
How to Terminate a Terminal Session
To terminate the session, type exit
:
[thewebmaster@webmaster ~]$ exit
Troubleshooting \ FAQs
Why can't I see the option to use the Terminal in cPanel
Not all web hosting providers allow access to the command line. Sometimes, it may be disabled by default but will be activated on request.
If in doubt, you should open a ticket with your hosting provider.
Can I use the 'sudo' command on shared hosting servers?
The sudo
command allows users to run commands as the root or superuser. You will not be allowed to use the sudo
command for shared hosting accounts.
If you require such access, you will need VPS or Cloud hosting.