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.
2. Next, install the RSA keys to allow you SSH into the device.
  • Download the testing RSA keys into ~/.ssh/ (on your test server).
  • Restrict the permissions on ~/.ssh/testing_rsa; SSH will ignore the file if the permissions are too open:
$ chmod 0600 ~/.ssh/testing_rsa
  • Add an entry for your device in your ~/.ssh/config:
Host device
  HostName # The IP address of the Chrome OS Device.
  CheckHostIP no
  StrictHostKeyChecking no
  IdentityFile %d/.ssh/testing_rsa
  Protocol 2
  User root
  • Once you have done both steps verify you have password less login as root:
$ ssh device
Warning: Permanently added '' (RSA) to the list of known hosts.
Last login: Mon Mar 17 14:21:30 PDT 2014 from on ssh
localhost ~ # 

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.