Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Please document password limitations. #46

Open
cisco211 opened this issue Aug 8, 2018 · 2 comments
Open

Please document password limitations. #46

cisco211 opened this issue Aug 8, 2018 · 2 comments

Comments

@cisco211
Copy link

cisco211 commented Aug 8, 2018

Following problem with sftp:

I have an user which has a password with special symbols (~!?$/...). When i have setup the uri on code-workspace file, the remote folder became yellow and the ! shows an error like this "could not resolve workspace folder". Then i put ?debug=1 on the end, to see whats going on under the hood. The debug log said "Invalid username" which made no sense the username is right, checked it in WinSCP and Putty. Then i thought a little bit about it, urlencoded the special characters and now it works.

Suggestion: Please document that when you have a password with special characters that you have to "urlencode" these. This would help others not wasting much time figuring out whats wrong, this bugger stole me 45 mins.

BTW: Great job on that extension, i absolutely like it having VS Code not needing any SFTP/SCP client to remote edit files :)

Best regards
T. Schumacher

@cisco211
Copy link
Author

cisco211 commented Aug 8, 2018

After this i wanted to go further by using the credentials file (auth=D:/filepath...).

Inside this file, the password does not need to be urlencoded :)

@TLMNicolas
Copy link

I realized this "bug" the hard way, after trying a million things. Finally clued in the password had a hash.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants