> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to use SSH access on Ex2 hosting?

#### Validate your access

To benefit from [SSH](https://help.ex2.com/en/article/what-is-the-ssh-protocol-10ohmg0/?bust=1784053786022) access on your Ex2 hosting, and for security reasons, please contact support by providing us with a copy of your identity document.

Once your access is unlocked, there are three methods to authenticate yourself:

*   with a username and password ("classic" method)
*   with an SSH key
*   or directly (autologin) in the terminal available on your cPanel

For the SSH connection with an identifier and a password, you must use the same identifiers as for your access to cPanel, on port 2298. The connection host is one of your domain name:

If you are connecting directly with the command prompt (windows) or Terminal (Mac Os), force the ssh port by connecting with the following command:

*ssh -p 2298 yourlogincpanel@yourdomainname (or your server ip)*

#### SSH access limits

SSH access allows you to manage your hosting and in particular to:

*   manipulate files / folders via the console
*   generate zip and tar.gz archives of certain files (be careful to respect your hosting resources)
*   back up your databases with the mysqldump command
*   create bash scripts or other (python)
*   use the console of other frameworks (Symfony2, laravel, etc.)
*   use the console on Python frameworks, with virtualenvs (this is possible using the python tool from cPanel)
*   use the CMS console, wp-cli for Wordpress, drush for drupal (+ many other CMS)
*   use git

However, the following commands are not available on Ex2:

*   install new packages on the system, using yum install or apt-get
*   installation of "server" type applications
*   modification of server settings: firewall, web server configuration
*   in general, anything that requires administrative rights (root) or rights greater than those of a user account on Linux 