SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

Couldn't start a terminal for homeassistant: Error while reading the keyfile at: ~/.ssh/id_ed25519 #224

Closed fahadshery closed 3 years ago

fahadshery commented 3 years ago

Hi,

Trying it out for the first time!

I can ssh into the machine using my private key. But the remote machine have a different username. When I setup the config and supply the username along with the ssh key. it gives error that it can't read the key. What's the work around because I do not want to change the permissions of my private key.

thanks

fahadshery commented 3 years ago

If I dont set the key in the config then it asks for the password for the username of the remote machine. How do I supply the key file then?

fahadshery commented 3 years ago

I was able to do it by supplying: $HOME/.ssh/my_key