In order to successfully access the environment you need the following:
The file ~/.juju/environments/<environment-name>.jenv
The environment config for that environment located in ~/.juju/environments.yaml
Using these two you can connect to the environment. However, for juju ssh to work, you need to add the ssh key of the second computer to the Juju environment.
This can be done using juju authorised-keys import lp:some_launchpad_user or juju authorised-keys add <public-key>.
In order to successfully access the environment you need the following:
~/.juju/environments/<environment-name>.jenv
~/.juju/environments.yaml
Using these two you can connect to the environment. However, for
juju ssh
to work, you need to add the ssh key of the second computer to the Juju environment.This can be done using
juju authorised-keys import lp:some_launchpad_user
orjuju authorised-keys add <public-key>
.