Accessing a Linux VM
You can access a Linux virtual machine (VM) by connecting to it through the SSH protocol.
On Linux and macOS computers, the OpenSSH client is usually installed by default. On Windows, you need to install it.
This procedure only applies to VMs based on official OMIs, using the default keypair authentication system. In other cases, the connection process can differ. For more information, see About Keypairs. |
From a Linux or macOS Computer
Before you begin:
|
To access the VM using OpenSSH, use the ssh command following this syntax:
$ ssh -i KEYPAIR outscale@VM_IP
This command contains the following attributes that you need to specify:
-
KEYPAIR
: The path to the .rsa file containing the private key on your computer. -
VM_IP
: The public IP of the VM.If you are using a VPN or a DirectLink connection, you can specify the private IP of the VM.
From a Windows Computer
Before you begin:
|
To access the VM using OpenSSH, use the ssh command following this syntax:
$ ssh -i KEYPAIR outscale@VM_IP
This command contains the following attributes that you need to specify:
-
KEYPAIR
: The path to the .rsa file containing the private key on your computer. -
VM_IP
: The public IP of the VM.If you are using a VPN or a DirectLink connection, you can specify the private IP of the VM.
Related Pages