Skip to content

Access with SSH

Generate a SSH key pair

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.

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

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

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

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

Minimal version badge

It is possible to use the SSH Key Management from the user interface 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}
ssh -i {your_private_key} shell@{instance_IP} -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa

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

Minimal version badge

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.