Overview
SSH, or Secure Shell, is a protocol that allows you to connect to services such as web servers. This allows you to connect to our servers and manage your Pressable website via command-line tools such as WP-CLI.
SSH, or Secure Shell, is a protocol that allows you to connect to services such as web servers. This allows you to connect to our servers and manage your Pressable website via command-line tools such as WP-CLI.
If you are accessing SSH for the first time, you must create your credentials:
SSH Username
and SSH Password
details. For the SSH Password, click the Reset
button to generate a new password to use. These credentials will be used for both SSH and SFTP connections.Reset
button can be used to generate a new one.SSH URL
information listed as well. That will be needed for the SSH connection command to connect to the site. See Connect to SSH section below for more details.If you forget or lose your SSH password, you can reset it by returning your my.pressable.com dashboard and navigating to Sites → Select the site you’d like to access via SSH → Collaborators | SFTP | SSH, then select the Reset
button to generate a new one:
To access your site via SSH, you will need your SSH Username
, SSH Password
, SSH URL
, and a terminal program. Below are instructions to connect via some of the most common programs.
Step 1: Open your computer’s terminal application.
Step 2: From your my.pressable.com dashboard, go to Sites → Select the site you’d like to access via SSH → Collaborators | SFTP | SSH to access your site’s SSH options.
Step 3: Copy the SSH URL
provided for your site. For example, [ssh-username]@ssh.atomicsites.net
. The full ssh command to use will be ssh [ssh-username]@ssh.atomicsites.net.
ssh pb93bd5bedf591466@ssh.atomicsites.net
ssh
command into your terminal application and press enter/return (ssh [ssh-username]@ssh.atomicsites.net
).Step 5: Your terminal should now prompt you to enter a password. Paste or type in the SSH Password
provided when creating your SSH credentials and press enter.
If successful, you should now be connected to SSH and can begin running shell and WP-CLI commands.
Recent versions of Windows, starting with 10, have added SSH support via the Windows Subsystem for Linux as well as the OpenSSH client. Please consult Microsoft’s official documentation for using these methods.
Another option that is available for both current and older versions of Windows is PuTTY.
sftp.pressable.com
22
SSH Username
and press Enter/return.SSH Password
.If successful, you should now be connected to SSH and can begin running shell and WP-CLI commands.
You can avoid the need to enter a password by generating an SSH key for your device and then adding it to your my.pressable.com account:
For security reasons, only the following key types and lengths are allowed
Once you generate an SSH public and private key using the information in the links above, you can then add your public key to your Pressable account by logging into my.pressable.com and then navigating to Profile > Settings > SSH Keys
:
Once your SSH key is added to your Pressable account, you can use that along with your SSH Username
to log into a site that you have SSH access to, instead of needing to use your SSH Password
(more details here).
To connect via SSH, you still need to use the ssh username@ssh.atomicsites.net
as the command to access a site via SSH, but shouldn’t need to enter a password to access the site (more details here).
We have resources that will help with Shell Commands & WP-CLI here:
If something happens to your site after you’ve made changes via SSH, or if you run a command and something happens you didn’t expect, you can restore your site from a backup.
We will NOT be able to help you debug your command to make it work as expected.
To ensure the proper functioning of your website and protect it from potential abuse by users (whether intentional or accidental), as well as to safeguard against inadvertent abuse by yourself, our service incorporates several limitations. These limitations are inherent in the way the service operates.
wp command | grep something | cut -f1 | sort | uniq.
In reality, this script involves a total of 8 processes: one for the login shell, one for the bash script itself, one for wp (assuming it doesn’t spawn additional processes), one for grep, one for cut, one for sort, and finally one for uniq. This limitation serves to prevent both resource exhaustion and unintentional recursive code.nohup
, etc.).Customers can now disconnect SSH connections directly from the Advanced tab in the MyPressable Control Panel. If you are a Collaborator user, the permission needed by a Collaborator to use this functionality is Manage Performance:
If you are getting a “Remote side unexpectedly closed network connection” message, disconnecting all SSH Connections and then attempting to reconnect will resolve that.
Keep in mind that this should NOT be used if there are active connections and needed scripts and processes running, as those processes would also be stopped.
This feature has also been extended to our API.
Due to the complex nature of SSH and WP-CLI, we are not able to provide extensive support for using these tools. Our Support Team is available to help with issues connecting via SSH but cannot guide you through using commands.
No, root access is not provided. Pressable’s SSH access is for the general management of the WordPress environment and file system and is not intended for other purposes that would require root permissions.
In order to provide a secure and performant environment, Pressable may restrict or disable certain shell and WP-CLI commands.
The SSH Username
and SSH Password
are generated by the system automatically. These are unique to each site. If you have multiple sites, you’ll need to use multiple usernames and passwords, one for each site.
If you’d like to use your own password, you can generate an SSH Key and then add the key to your my.pressable.com account.
Because ssh users exist on a per-site, not a per-account basis, you will need different credentials for each site. You can automate getting SFTP user credentials with the Pressable API.