Connecting to your VPS using the console / VNC

Posted by / Jan 27, 2016 / Categories: Getting Started

Console access allows you to access your shell without using SSH. It’s as if you were physically plugged into the machine with a screen and keyboard.

There are two main reasons you may wish to connect to your VPS via the console:

1. You’ve managed to lock yourself out e.g. by disabling your network interface or breaking your SSH configuration

2. You’d like to enhance the security of your virtual machine by disabling SSH access completely

Accessing the console varies slightly depending on whether your machine is OpenVZ or KVM virtualization.

OpenVZ

Login to my.BHost and click Manage for the virtual server you wish to access via the console.

Click “Serial Console”:

console1

For security reasons, the BHost system will only create a console session for a limited period of time. Select the amount of time you need the session for (e.g. 1 hour) and click “Create Session”:

console2

Our system will create a serial console session for you and present the credentials in your browser:

console3

You can then use the provided session details to access your virtual machine via the console.

The session will expire after the allotted time, but you can always create a new session at any time.

KVM

On a KVM virtual server, you can connect with VNC (Virtual Network Computing). VNC is a bit like remote desktop, where a visual image of the remote machine is transmitted to you.

Firstly, Login to my.BHost and click Manage for the virtual server you wish to access via the console / VNC.

Next click the VNC button:

vnc1

You are now presented with credentials you can use to connect to the server using a VNC client on your local machine. For example, from Windows you could use the Real VNC viewer and from Mac you could use Chicken of the VNC.

vnc2

VNC clients might interchange the word “port” and “display”. Ensure you set the correct display as presented to you in the BHost VPS control panel.

vnc3

Alternatively, instead of using a VNC client on your local machine, you can opt to use our browser-based VNC client. We recommend using the HTML5 VNC Client (SSL) for the best performance. There is also a Java client available though we no longer support this method. By using the browser-based client you won’t need to type in / paste your VNC credentials, you will automatically be connected.

vnc4

About the author
I'm George and I work in the BHost support team. I'm responsible for replying to customer support requests, as well as writing articles for our help center. If there's anything you'd like us to blog about, let us know by emailing support@BHost.net