Connect to Access Server via SSH using PuTTY

Introduction

OpenVPN Access Server runs on Linux platforms. You can use an SSH client to connect to your server when connecting from a Windows PC. This document provides example steps for connecting with the PuTTY SSH client, which you can use to connect to Access Server running on an AWS EC2, DigitalOcean droplet, Azure servers, GCP instances, and more.

Before you begin, ensure you have a server with Access Server installed. Refer to our quick start guide.

PuTTY and PuTTYgen download

  1. Download the PuTTY installation package to install both PuTTY and PuTTYgen: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html. You can also get PuTTY from the Microsoft Store, published by Simon Tatham.
  2. Follow the program's installation steps.

Generate a key

  1. Launch the PuTTYgen app.
  2. Click Conversions > Import Key.
  3. Select the key file you used to generate your server. (If you don’t have a key file, refer to the quick start guides to install a server with Access Server first.)
  4. Enter the passphrase for your key if needed.
  5. PuTTYgen loads your key file; click Save private key.
  6. Name your key, save it to a file location, and close PuTTYgen.

Configure SSH session

  1. Launch the PuTTY tool.
  2. Enter the static IP address of your server in the Host Name (or IP address) field.
  3. In the left-hand navigation, navigate to SSH > Auth > Credentials.
  4. Click Browse next to Private key file for authentication and select the private key you generated with PuTTYgen.
  5. Click Session, enter a name for this SSH session in the Saved Sessions text field, and click Save. (This saves your configuration so you can load it quickly next time.)
  6. Click Open to launch the SSH session.

Connect SSH session

  1. After clicking Open, PuTTY presents a message that it hasn’t seen this server before. It’s safe to click Accept.
  2. When prompted, sign in as your root user. For many of our cloud marketplace instances, use ‘openvpnas’.
  3. Upon successful key validation, you connect to the server, and the command line interface displays.