Convert Your Keypair to the PuTTY Format
Before you begin: Install PuTTY on your machine. For more information, see the official PuTTY website.
- Open PuTTYgen.
- Click Conversions > Import Key to load the .rsa file containing the private key of the keypair associated with the instance.
- To protect your private key, type a passphrase in the Key passphrase field.
- Click Save Private Key.
- Type a name for your PuTTY-format private key and click Save.
Your private key is converted to the PuTTY format.
Access the Linux Instance
Before you begin:
To allow the connection from your machine to the instance, ensure the instance has the following security group rule:
For more information, see Adding Rules to a Security Group.
- Configure the connection:
In the Host Name (or IP address) field, type the public IP address of your instance.
If you are using a VPN or a DirectLink connection, you can use the private IP address of the instance.
- In the Port field, type 22.
- In the Connection type list, select SSH.
- In the Connection > SSH > Auth section, click Browse and select your PuTTY-format private key.
Click Open to launch the connection.
A PUTTY SECURITY ALERT dialog box appears.
Click Yes to validate.A terminal prompt appears with the
login as:line displayed.
- Type the name of the user of the instance.
The name of the default user depends on the OMI used:
outscalefor Ubuntu 18 and Centos 7 OMIs released since 20 December 2018
ubuntufor older Ubuntu OMIs
centosfor older Centos 7 OMIs and Centos 6 OMIs
- Type the passphrase for your PuTTY-format private key.
You now have access to the Linux instance.