You can use this process to have Azure create a public-private key pair. You can use the same public-private key pair with multiple virtual machines.
Procedure
In the Azure portal, click the icon.
Enter SSH in the search box.
Under Marketplace click SSH Key.
On the SSH Key page click Create.
Select your Subscription and Resource group.
Select your Region.
Enter a Key pair name that identifies the key pair role.
Leave the other settings as Generate new key pair and RSA SSH Format.
Click Review + create.
Click Create.
Select Download private key and create resource. This downloads a .pem file containing the private key for use with your SSH application.
Important:
You must keep this file safe and secure. Whilst you can download the public key at any time, you cannot download the private key file again. If you lose the private key file, you will have to create a new private-public key pair.
Click All resources.
Locate and click on the name of the SSH key pair.
If necessary, set the filter to Type and change all to SSH.
Use the Copy to clipboard icon to copy the Public key.
Paste the value into a text file. You need to add the public key to your IP Office virtual machine.