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

How to store SSH key when using Github Codespaces? #398

Open fonewiz opened 10 months ago

fonewiz commented 10 months ago

When using VS Code and SSH FS on my local machine, I just store my SSH key locally and point to that when configuring my connections to each server.

I am trying to test out and maybe move to Github Codespaces but I can't lose the use of SSH FS.

I have synced my settings for VS Code which syncs my SSH FS config and all my server configs just fine. Of course when I try to connect to any of my servers the connection fails because it can't find the SSH Key locally on the CodeSpace.

How do I handle storing my SSH keys when using Code Spaces? I am guessing I could store the key within each Code Space but it would be great if I could store my keys in Code Spaces somehow outside of each code space.

Any ideas are appreciated, thanks.