Terminal
The Terminal page gives you an SSH shell right in your browser, without an SSH app. The terminal is handy for running commands such as php, git, or the MySQL client.
When this menu is available
The Terminal menu only appears when both conditions are met:
- your hosting package includes the SSH feature;
- SFTP/SSH access for your account is on.
The account must also be active. If a condition is not met, the page shows Terminal is not available with the reason:
| Message | Meaning |
|---|---|
| "Your hosting package does not include SSH/terminal access." | The package does not include SSH. |
| "SFTP/SSH access is turned off for your account." | Your hosting provider turned off SFTP/SSH access for the account. |
| "Your account is …; the terminal is only available for active accounts." | The account is not active, e.g. suspended. |
Contact your hosting provider to turn it on.
Opening a terminal session
- Open Terminal from the sidebar.
- Click Connect.
- Wait for the status to change from Connecting… to Connected.
- Type commands in the terminal.
The status, username, host, and session duration are shown above the terminal.
Terminal buttons
| Button | What it does |
|---|---|
| Clear | Clears the terminal screen. |
| Copy | Copies the selected text, or the whole terminal content when nothing is selected. |
| Fullscreen | Opens the terminal full screen. Press Esc to leave. |
| Disconnect | Closes the session. |
| Reconnect | Opens a new session after disconnecting. |
Keyboard shortcuts
| Shortcut | What it does |
|---|---|
Ctrl + C | Cancel command: stops the running command. |
Ctrl + L | Clear screen: clears the screen. |
Ctrl + D | Exit shell: closes the session. |
Isolated environment
The shell runs in an isolated environment (jail):
- only your home folder is visible and writable;
- the system is read-only;
/tmpis private to your session;- other accounts' processes are not visible;
- the account's CPU, RAM, and process limits still apply.
PHP, git, and the MySQL client (through the local socket) still work. Commands that need root, such as installing system packages, cannot run.
Session limits
The Session details panel shows session information:
| Item | Value |
|---|---|
| SSH user | Your account username |
| Host | Your account's server |
| Account type | Isolated account |
| Idle timeout | 30 minutes |
| Maximum session time | 4 hours |
| Audit | Session open and close are logged |
The session closes automatically after 30 minutes without activity or after 4 hours. Click Reconnect to open a new session.
Long-running commands
Commands that take a long time stop when the session closes. For long or recurring tasks, use a cron job.
Examples
Check the PHP version:
php -vList the website folder:
ls -la ~/public_htmlCheck the website folder size:
du -sh ~/public_html