I’ve already asked for auto connection on charmed-openstack-upgrader on this post, but we discovered that we also need ssh-public-keys interface. The snap uses python-libjuju and we use scp to make backups of mysql-innodb-cluster. Without this interface, we receive permission denied:
Can you just confirm that it’s definitely the public key interface you need? +1 if that’s the case, but the reason I ask for confirmation is that the error text above is referencing a private key file. I can see how the connection would fail if a previous step failed to take the public key and inject it on the remote host though.
Hi @dclane. I confirm that is the public key interface that I need. The juju-client-observe already has read access to the private key that you see in the command that fails.
To run scp the host needs to have read access to the public key to inject it on the remote host as you said.