Setting up Virtual Machine on Nectar - WEHI-RCPStudentInternship/data-commons GitHub Wiki

Initial setup for Virtual Machine instance

1. Set-up a key pair on your local machine

In command line or terminal : ssh-keygen

2. Import the key pair into Nectar

  • Under Compute / keypairs
  • Key type -- SSH key

https://tutorials.rc.nectar.org.au/keypairs/03-ssh-keygen

3. Launch Instance from Nectar Dashboard page

  • Project / Compute / Instances
  • Use image: NeCTAR Ubuntu 22.04 LTS (Jammy) amd64

https://wehi-researchcomputing.github.io/faq

For more detailed tutorial: https://tutorials.rc.nectar.org.au/launching-virtual-machines/01-overview


Accessing the instance

Once instance is launched, virtual machine can be connected through Command line or terminal:

  • ssh ubuntu@[IP address]

Common errors:

  • Permission denied (public key)
    • May need to direct the location of the key pair when connecting

ssh -i /path/to/keypair ssh ubuntu@[IP address]

(Should be located at .ssh folder unless it was setup elsewhere.)

For more detailed tutorial: https://tutorials.rc.nectar.org.au/connecting/01-overview

For other SSH access issues: https://support.ehelp.edu.au/support/solutions/articles/6000149723-troubleshooting-ssh-access-to-a-nectar-instance