Body
Step 1: Download and Install Putty
One of the initial steps to access an Azure HPC cluster resource is to get and install Putty. Putty has a program called PuTTYgen that lets you create the security keys that are required for logging in.
Note - If you already have a program that you like to use for making your keys, then feel free to use that. You can download Putty here https://putty.org/ After downloading and installing,
- open PuTTYgen.
Step 2: Create Security Keys
- On the application screen, adjust the “Number of bits in a generated key” to 4096 and press the “Generate” button as shown below.
- You need to move the mouse around the application window for a while before the keys are created. The application will show you the keys that it created, and you will save them in a place on your system that you can find. The public key is for putting into applications that need a public key, such as Azure.
- Now, you need to press the “Save public key” and the “Save private key” buttons. You’ll have to name both keys. See the screenshots below.
- Public key:
- Private Key:
- After you finish this, you’ll need to copy the PUBLIC ssh key from the page that shows the generated key. You will use this key for your Azure account when you sign in.
Step 3: Access Azure
- Now you can use any browser you prefer and go to: https://cyclecloud.uthscsa.edu/home
- Use your domain username (uthscsa\username) and the password that an admin gave you to log in. After you log in, you should see your home page. There, look at the top right corner and click on your name. Choose “My Profile”.
Step 4: Edit Profile
- Select the “Edit Profile” button.
- On the Edit Profile screen, paste your public key into the “SSH Public Key” text box and click the save button.
- Select the “Change Password” button. Do what the instructions say and enter a new password and press save.
- You can now choose the “Back to clusters” arrow option.
Step 5: Cluster Connection Information
You need to know the remote host address of your Azure CycleCloud cluster before you can connect to it. To find out this address, do these steps:
- While logged in to the CycleCloud website: https://cyclecloud.uthscsa.edu/home
- On the left sidebar, click on Clusters and select the cluster you want to connect to.
- On the cluster details page, click on the Nodes tab and select the scheduler
- On the View Details tab below, click on Connect
- copy the hostname or IP of the master node. This is your remote host address.
- This remote host address is what you need for PuTTY or your preferred SSH Client. Put the remote host address in the Host Name field.
Step 6: Connect to Azure Cluster
MobaXterm is the tool that I will use for this section of the instructions. It can be downloaded here: https://mobaxterm.mobatek.net
- Using your preferred SSH program, make a new session. Type in your connection address for the distant host. Locate and access the Advanced SSH settings.
- In the advanced SSH settings, be sure to enable the “Use private key” option.
- Then click the search icon to point the connection/session to the private key you created in earlier steps.
- Select your private key then click the open button.
- Once that’s in place, you only need to give your connection a name then click ok/save.
- After you save your session, double click on your connection and login with your username.
Your Azure Cyclecloud HPC should be accessible to you if you have followed these steps.
Happy researching