APNIC 56 Network Automation tutorial
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Getting started with lab

Getting Started with Workshop

This tutorial will help you create your SSH keys, which will later be used to log in to your lab machines. For Linux/Ubuntu/OSX users, the process has been pretty simple for ages as they have an OpenSSH client installed on them but Windows didn’t supported till 2018. If you are already on Windows 11, and you have an OpenSSH client installed you can directly move forward to creating ssh keys, and if you are on Windows 10 with older patches you need to manually enable OpenSSH client.

You can skip this step if you are already familiar with SSH keys and using those in VSCode.

Step 1: Check if you have an OpenSSH client installed.

  • Open Command Prompt
  • type command


If you get error as below then you need to follow below process Step 2, else you can move with Step 3.

ssh-keygen is not recognized as an internal or external command, operable program or batch file.

Step 2: Install OpenSSH client.

Open the Windows 10 Start menu and search for “Apps & Features”. In the “Apps & Features” heading, click “Optional Features”.

Scroll down the list to see if “OpenSSH Client” is listed. If not, click the plus sign next to “Add a feature”, select OpenSSH Client, and click “Install”.

Once installation is complete, go back to Step 1 to generate keys

Step 3: Now, create an ssh key using the ssh-keygen command

Step 4: Upload public key

Upload your public key for access to the lab

Step 5: Download VSCode

Now we will be using vscode mostly to edit configuration files, and make our life easier.

Download the VSCode from here.

Step 6: Install Remote - SSH extension on your VSCode.

  • Open VSCode and use the shortcut Ctrl + Shift + X.
  • Install Remote - SSH Extension.

Step 7: Navigate to Remote Explorer and add your lab server.

Now press shortcut Ctrl + O (or open file) and find config file on .ssh folder.

  • Now put your server hostname and your username. The hostname of the server must be as defined per user and save the configurations.

Host a01.apnicdemo.the-net.work
    HostName a01.apnicdemo.the-net.work
    User a01

Step 8: Checkout remote tab

Now refresh the REMOTE Tab (left side panel in VSCode) and you will find the added server on the list from which you can connect the server terminal and files.