Open ghost opened 4 years ago
Thanks for the report @frbrz, I'm looking into this now.
Okay, spent some time looking into this – I reproduced this in both a Snap environment, and when building from source, both on Ubuntu 18.04.3 (LTS). I suspect there's something up with doctl compute ssh
because it uses an exec.Command
to establish the SSH connection. We'll need to dig into this further, so we'll keep this issue updated.
I installed doctl trough snap
sudo snap install doctl
and then I give it permissionssudo snap connect doctl:ssh-keys :ssh-key
.But if I try to enter to my droplet via doctl using
doctl compute ssh _droplet-name_
it fails to add droplet's IP to the list of known hosts, while if I enter with ssh it works as intendedssh -q root@__droplet-ip__ exit
.Doctl gives the following message:
And then continues:
Is Doctl able to add droplet's IP to the list of known hosts right now? Is this a bug related to Snap/Linux or isn't a present feature?
By the waty, my specs
npx envinfo
are the following: