vscode-remote-workspace
vscode-remote-workspace copied to clipboard
Is there a way to prompt for password instead of hard coding it?
Here is my configuration for sftp-based remote workspace, and I don't want to provide password in clear text in this file, so is there a way to pop up asking for password?
{ "folders": [{ "uri": "sftp://[email protected]/", "name": "test" }] }
Yes! See below:
{ "folders": [ { "uri": "sftp://[email protected]/?tryKeyboard=1", "name": "test" } ] }
You can find all the different url parameters here.
Thanks GinoMan, tried but there is no pop-up window asking for password. My VS Code is 1.28.2, btw.
The same problem for me. It does not ask for any password to enter, just shows failed connection.
@GinoMan Doesn't work for me either.
Doesn't work for me too.
me 2
I have password contain @ character , how to put the password in uri format?
I have password contain @ character , how to put the password in uri format?
You need to URL encode the @ as %40.
No prompt w/ param ?tryKeyboard=1
on version 1.29.1 either.
No prompt for password, the connection fails. I wrote a bunch of debug details, then saw a previous discussion and deleted everything... trykeyboard is not meant to ask for a password.
So, is it possible to add this feature?