Translations:Cloud Quick Start/20/en
Jump to navigation
Jump to search
Connecting from a Linux or Mac machine
If the computer you are using to connect to your VM has a Linux or Mac operating system, use the following instructions to connect to your VM. Otherwise skip down to the next section to connect with a Windows computer.
Open a terminal and input the following command:
[name@server ~]$ ssh -i /path/where/your/private/key/is/my_key.key <user name>@<public IP of your server>
where <user name>
is the name of the user connecting and <public IP of your VM>
is the public IP you associated with your VM in the previous step. The default user name depends on the image.
Image distribution name | <user name>
|
---|---|
Debian | debian |
Ubuntu | ubuntu |
CentOS | centos |
Fedora | fedora |
AlmaLinux | almalinux |
Rocky | rocky |
These default users have full sudo privileges. Connecting directly to the root account via SSH is disabled.