Access to known_hosts for s17-turbo-switch snap


#1

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?


https://build.snapcraft.io/user/dmp1ce/s17-turbo-switch


#2

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?


#3

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!