Skip to content
Host4u Limited

Connecting to your environment by SSH

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

There are two ways to open a command line on a node.

Web SSH

Click the Web SSH button next to the node in the dashboard. A terminal opens in your browser. No keys are needed.

SSH Gate (from your computer)

SSH Gate lets you connect from your own terminal or an SFTP program with an SSH key pair.

Add your public key

If you do not have a key yet, see Generating an SSH key.

  1. Click Settings at the top right, then SSH Keys, then Public Keys.
  2. Click Add Public Key, paste your public key and save. You get an email when a key is added.
  3. To remove a key, click the red cross next to it.

Connect

Open the environment's Settings, then SSH Access. The SSH Connection box shows the command to use. It looks like this:

ssh <node-id>@gate.ukhost4u.net -p 3022

Use the node ID from your dashboard. In your Settings, the SSH Keys page also shows the connection command and the details for SFTP / Direct SSH Access.

Connecting to your account (not to a node) shows a menu where you can pick an environment and node. If the environment is shared with you, the owner must have allowed SSH access.

Managing services

Once connected you can manage the node's services with sudo, for example sudo /etc/init.d/nginx restart.

Next steps

Viewing logs and troubleshooting an environment


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal