the Chromium logo

The Chromium Projects

Setting up SSH Access to your test device.

In order to run the automated tests against your device you need to ensure it is running a Test Image and you have password-less SSH Access.

  1. First make sure you have a Chrome OS Device with a Test Image installed.
  1. Next, install the RSA keys to allow you SSH into the device.
$ chmod 0600 ~/.ssh/testing_rsa
Host device
  HostName 172.22.168.233 # The IP address of the Chrome OS Device.
  CheckHostIP no
  StrictHostKeyChecking no
  IdentityFile %d/.ssh/testing_rsa
  Protocol 2
  User root
$ ssh device
Warning: Permanently added '172.22.168.233' (RSA) to the list of known hosts.
Last login: Mon Mar 17 14:21:30 PDT 2014 from 172.18.72.8 on ssh
localhost ~ # 
Host 172.22.168.* # The subnet containing your Chrome OS test devices.
  CheckHostIP no
  StrictHostKeyChecking no
  IdentityFile %d/.ssh/testing_rsa
  Protocol 2
  User root
Host device1
  HostName 172.22.168.233 # The IP address of the first Chrome OS Device.
Host device2
  HostName 172.22.168.234 # The IP address of the second Chrome OS Device.

Note: you can also reach your device via ssh if using a Dev image, but you will need to enable the debugging features on the setup screen after a flash or powerwash.