I have a private git repository, which I can make a deploy SSH key authorized to read.
I see two SSH keys juju seems to talk about in the docs… one when you
juju add-ssh-key ... and the key under your hosts
I’ve tried to add both my LXD hosts public key to the git repositorys deploy key AND the juju
neither seem to get a public key into any models or machines that I bring up… am I misunderstanding something ?
$ juju ssh-keys Keys used in model: admin/default SOME_KEY_HERE (firstname.lastname@example.org)
from within a model
ubuntu@juju-60307e-3:~$ ls -la .ssh/ total 6 drwx------ 2 ubuntu ubuntu 4 Jun 4 21:56 . drwxr-xr-x 6 ubuntu ubuntu 12 Jun 4 22:05 .. -rw------- 1 ubuntu ubuntu 1554 Jun 4 21:52 authorized_keys -rw-r--r-- 1 ubuntu ubuntu 884 Jun 4 21:56 known_hosts
the public key is indeed added via
add-ssh-key to the authorized_keys … but where would I add keys (or can I) for when performing juju charm installations , setups, etc…