1) Run a matrix test.
2) As the test is running, "juju switch" to the model that the test created.
3) Try to "juju ssh" to one of the machines.
Note that you get a "permission denied (publickey)" error.
Either the path to the public key is not getting set in the terminal env (unlikely, because "juju ssh" to a model that I created works), or we're not copying the juju public key onto the machines that we create in a matrix test (weird, but it is possible that the websocket api is missing the command that creates those keys).
To reproduce:
1) Run a matrix test. 2) As the test is running, "juju switch" to the model that the test created. 3) Try to "juju ssh" to one of the machines.
Note that you get a "permission denied (publickey)" error.
Either the path to the public key is not getting set in the terminal env (unlikely, because "juju ssh" to a model that I created works), or we're not copying the juju public key onto the machines that we create in a matrix test (weird, but it is possible that the websocket api is missing the command that creates those keys).