Connecting to a RHEL Instance
You can connect to RHEL Instances via SSH sessions using passwords (less secure) orΒ SSH key pairs (most secure)
Connecting from a Windows Machineβ
To connect to your RHEL Instance from a Windows machine, you will need to use an application called PuTTy, an SSH client.
- Download and install PuTTy.
- Launch PuTTy on your computer.
- Enter your Instanceβs IP address in the Hostname field. Navigate to Connection > SSH > Auth.
- Click the Browse button and select the private key file you previously generated.
- Click Open at the bottom of the screen to open a connection to the Instance. PuttY prompts you to allow the connection to the host.
- Click OK to confirm and the terminal window will be displayed.
- Then enter the default root user nameΒ (root)Β and press Enter to authenticate against the server with your SSH key.
You are now connected to your Instance.
Connecting from a macOS or Linux Machineβ
- Open any terminal program.
- Enter the following command into the terminal. Make sure you replaceΒ
your_private_keyΒ with the filename of your private key;Βyour_instance_ipwith the IP address of your Instance; andΒusernamewith the default root user name (root).ssh -i ~/.ssh/<your_private_key> <username>@<your_instance_ip> - When prompted, allow connection to the host by typingΒ yes, then pressΒ Enter.
The authenticity of host 'myhost.ext (212.47.206.34)' can't be established.
RSA key fingerprint is 4f:ba:65:cf:14:64:a7:1e:b6:07:7c:00:71:95:21:fa.
Are you sure you want to continue connecting (yes/no)?
You are now connected to your Instance.