Skip to content

Accessing instances with SSH

Generate a SSH key pair

For detailed information about SSH usage, please refer to this page .

To generate a key pair, use the following command on the computer you wish to connect from:

ssh-keygen -t rsa -b 4096 -f key.pem

This will generate a private key named key.pem and a public key named key.pem.pub in the current folder.

GCP does not offer any SSH key pair generator. You need to use ssh-keygen tool locally.

You can use your Cloud provider tools to generate a key pair:

You will then need to import your public key and use your private key to connect to your Virtual Device.

Import a SSH key pair

10.0.0

It is possible to use the SSH Key Management feature to import your public key to an instance.

You can use your Cloud provider tools to import the key pair:

Connect to your Virtual Device with SSH

Use the command:

ssh -i {your_private_key} shell@{instance_IP}

Note

  • shell is a specific user for operations with ssh. You cannot connect with SSH to Genymotion instances with a different user name.
  • {your_private_key} is the name of the private key of your key pair (for example: key.pem).
  • {instance_IP} is your instance IP.

Add additional SSH keys

10.0.0

Most Cloud providers do not offer to add additional SSH keys after an instance has been created. However, it is now possible to add and remove SSH keys from the web UI.

Back to top