liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 264 forks source link

sftp config is awol #718

Open thomstark opened 4 years ago

thomstark commented 4 years ago

I was trying to add connections to two servers to my config file, but it didn't seem to work. So then I entered >SFTP: Add New Configuration File and then it wiped out the one I was using in the /tmp folder and gave me a new config file with the default dummy settings.

However (big however), I am still able to connect to the first server I set up. My workspace with five folders from the first server is still fully functional.

Even after closing vscode and reopening. Even after rebooting my linux mint os.

After the reboot, the sftpConfig.json file that was in the /tmp directory doesn't even exist anymore (not even the default dummy settings it got reset to as discussed above). that file is gone.

I've grepped all the directories i can think of for json files with strings matching my server host.

The config file is gone. But my workspace still connects to it in vscode.

So how on earth does it know my username and password if the config file is gone? Where is it actually being stored because I want to make changes. I also want to know where that information is on my machine simply because it's sensitive.