1. Home
  2. Connecting to your Server
  3. Connecting to your Server using SSH

Connecting to your Server using SSH

SSH (Secure SHell) provides command-line access, so you can run commands directly on that machine. Shell access is the equivalent of the ‘command prompt’ on Windows PCs, or the terminal on machines running Mac OS X or Linux. SSH is an encrypted protocol, like SFTP, ensuring that any commands and passwords passing between your computer and the server are protected against eavesdroppers.

For Bytemark customers, SSH is also used to access the Recovery Console of the machine.

Using a terminal program to connect via SSH

Linux and Mac OS X desktop machines usually come with the SSH command available.

  1. Open a terminal emulator and type; ssh followed by a space, then your username (probably ‘admin’), an @ symbol and then the hostname of your server eg. ssh admin@example.vm.bytemark.co.uk
  2. The first time you connect to your machine you will be presented with a warning message about the authenticity of the host. We can assume that the host is authentic, so type yes and press Enter to continue.
  3. Enter the password for the ‘admin’ user (a) (it is normal for nothing to be displayed on the screen as you type) and press Enter.
  4. You will be presented with the admin@example:~$ prompt (b) ready to accept commands.

Tip: When the machine is setup, the password for the root user, the admin user and the mysql database are all the same.

Using PuTTY to connect via SSH

PuTTY is a free and open-source SSH application, available for both Windows and Linux desktop machines. Once you have installed it, you can use it to connect to your server as follows:

  1. Start PuTTY.  If you are running it on Windows and you get a Security Warning, click the ‘Run‘ button to continue.
  2. Enter your server’s host name in the ‘Host Name (or IP address)‘ field (a). Enter 22 in the ‘Port‘ field (b), and select the ‘SSH‘ radio button (c). Click the ‘Open‘ button (d) to start the connection.
  3. The PuTTY command window will open. The first time you do this, you will be presented with a Security Alert (warning that the key is untrusted). It is safe to click the ‘Yes‘ button to continue.
  4. At the Login prompt, type admin and press Enter and the admin@example.vm.bytemark.co.uk password prompt will appear. Enter the password (it is normal for nothing to be displayed on the screen as you type) and press Enter.
  5. You will be presented with the admin@example:~$ prompt, ready to accept commands.
Updated on October 9, 2018

Was this article helpful?

Related Articles