Skip to content

Configuring SSH connection to your server

SSH settings page

SSH keys are used instead of passwords to connect to your server.

At WPJack all plain passwords are disabled as a security measure and users are required to use RSA public keys.

Our keys are using RSA encryption and keys with 4096 bytes. In order to break them with existing computers you would need 600 trillion years, or you could use a quantum computer.

We have a detailed SSH tutorial how you can configure everything and connect with a single command.

Every WPJack server has SSH page. On this page you can create new SSH keys or remove existing ones.

Creating SSH Key

When creating a new SSH key, specify its title and choose a Linux user to which you are adding the key.

WPJack creates a new Linux user for each site, and in the user dropdown, you'll see the username and domain of the site the user belongs to.

Once you create new key WPJack will display a private key, which you need to download on your local system.

If you want to be able to access and work with any site on your server you should create SSH key for a system user wpjack. After you log in using system account you can take root role using command sudo su and typing sudo password you received in provision email.

When you are root you can impersonate any user on the system with command su some-username. In order to stop impersonating a user just type exit and you'll be back to the root account.

Sudo user

Every server provisioned with WPJack will have a wpjack user. This is a sudo user, meaning it has all the root privileges.

It's important not to delete this user or change root password. Otherwise, WPJack will stop working on your server.

Using SSH Key

You can use an SSH key to connect from the terminal or your database software.

To make a connection, you'll need the following properties:

  • Private key
  • IP of your server
  • Linux username

The entire process is explained in Create and use an SSH key to access your WordPress server video.