Access to known_hosts for s17-turbo-switch snap

I created an interface and plug for gaining access to the $HOME/.ssh/known_hosts file. Can this be approved for the s17-turbo-switch snap?

The ssh-keys interface already grants this read access (though it also grants everything in ~/.ssh/*). It is unclear why your snap would need access to only known_hosts and nothing else. Can you elaborate?

The devices by default only use password authentication but they could use key authentication. I think it is better to use the ssh-keys interface so I’ll resubmit with it. Thanks!

1 Like