Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Simulation Service Developer Reference Guide

Jill Bender edited this page Dec 13, 2017 · 11 revisions

Contents

SSH into a VM

  1. Enable SSH in the Network Security Group

  2. Set username and password for VM

  3. SSH into a VM

Accessing the VM

1. Enable SSH in the Network Security Group

  • Go to Azure portal > [your resource group] > Network Security Group > Inbound security rules.
  • Select "SSH"
  • Change action to "Allow" and save.

2. Set username and password for VM

In order to access the VM, you will need to set a username and password for your VM.

  • Go to Azure portal > [your resource group] > Virtual Machine > reset password. image
  • Enter a new username and password.

3. SSH into a VM

  • Find your VM's SSH address from the Azure Portal.

    • Navigate to the VM in the Azure Portal (portal.azure.com > Resource Groups > Select Resource Group for your PCS > Select Virtual Machine)
    • You can also select "Connect" from your VM's portal page which will display your ssh command.
  • Sign into a VM.

    • Open a bash window.
      • If using Windows Command Prompt, you can enable bash with the instructions here
    • To sign into a VM using bash, use your username (from above) followed by the IP address of the VM and enter your sign in credentials.
    ssh myusername@12.34.567.890