vscode-remote-workspace icon indicating copy to clipboard operation
vscode-remote-workspace copied to clipboard

SFTP is not usable

Open glauber-experian opened this issue 7 years ago • 10 comments

First i couldn't connect. Then, i figured out that passwords need to be url-encoded. Now it connects, but doesn't display any files. There are no error messages, and logs are not created. If i add anything to the end of the server name in the sftp url (for example, to point to the actual work folder), i get a "file not found" error.

I wouldn't be able to use it anyway, due to the need to put unencrypted passwords in the configuration file, which is a no-no where i work. There doesn't seem to be an option to prompt for the password, or use a SSH key.

This is a very good idea. It would be extremely useful if it worked. As it is, at least the SFTP part needs work. (I don't have a way to test the other protocols.)

For inspiration, check out Emacs "Tramp Mode".

glauber-experian avatar Feb 22 '19 17:02 glauber-experian

Same problem here. After installing version 0.41 opening the remote workspace and saving files forked for awhile. Then after returning and trying to make some more changes these were not saved to the remote server. It seems that the SSH connection was dropped, and the plug-in was not able to restore the connection.

yonz2 avatar Feb 25 '19 22:02 yonz2

Working fine for me, are you using the last VSCode version and the last plugin version?

DotDebian avatar Feb 28 '19 22:02 DotDebian

Should be. Code says there are no available updates.

glauber-experian avatar Feb 28 '19 22:02 glauber-experian

Should be. Code says there are no available updates.

Any log file you could provide?

DotDebian avatar Feb 28 '19 22:02 DotDebian

Yes, i found time to do more experimentation with different kinds of hosts. This time i was actually surprised it worked for some hosts. I don't understand why. It could be coincidence, but the hosts that succeeded are RHEL 7.6 and the ones that failed are SuSE 12.3

Here are a couple of log files, with one host per file.

20190301.success.log 20190301.failure.log

The SuSE host (aiswork32) seems to be failing at the authentication phase, from what i can tell. I know 100% that the password is correct in my workspace file, because it's the same password as the other host, and i did a cut and paste.

glauber-experian avatar Mar 01 '19 17:03 glauber-experian

New version works initially and then breaks for me connecting to ec2 instances. vscode 1.30.2 and remote-workspace 0.40 works ok (ish).

alchemyconsulting avatar Mar 06 '19 12:03 alchemyconsulting

See #103

alchemyconsulting avatar Mar 06 '19 12:03 alchemyconsulting

See https://github.com/mkloubert/vscode-remote-workspace/issues/90#issuecomment-477251942

appleparan avatar Apr 06 '19 01:04 appleparan

There is now an 'official' remote plugin from microsoft, that works much, much better than this one.

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack

Thanks to the author of this plugin for the stop-gap solution.

alchemyconsulting avatar May 08 '19 12:05 alchemyconsulting

Thanks for letting us know!

From: Alchemy Consulting [email protected] Sent: Wednesday, May 08, 2019 07:36 To: mkloubert/vscode-remote-workspace [email protected] Cc: Ribeiro, Glauber [email protected]; Author [email protected] Subject: Re: [mkloubert/vscode-remote-workspace] SFTP is not usable (#108)

There is now an 'official' remote plugin from microsoft, that works much, much better than this one.

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpackhttps://urldefense.proofpoint.com/v2/url?u=https-3A__marketplace.visualstudio.com_items-3FitemName-3Dms-2Dvscode-2Dremote.vscode-2Dremote-2Dextensionpack&d=DwMCaQ&c=BNNF-YNv0CLLslhP2Bcx5Q&r=SjsIRf81D06XmEsmKkV_wxtLjrsUQpuz8iegmn0NIEg&m=UQg23SgDBhGX1kOeAU-oeGqnb-iJnCT0Z28c2YCPcUI&s=EtJV423NJzMqM59ULxbvHeNw0F6ZflFM1oDECRy9xJw&e=

Thanks to the author of this plugin for the stop-gap solution.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mkloubert_vscode-2Dremote-2Dworkspace_issues_108-23issuecomment-2D490468518&d=DwMCaQ&c=BNNF-YNv0CLLslhP2Bcx5Q&r=SjsIRf81D06XmEsmKkV_wxtLjrsUQpuz8iegmn0NIEg&m=UQg23SgDBhGX1kOeAU-oeGqnb-iJnCT0Z28c2YCPcUI&s=PjyFNN-zv8hwTQ8ra9SoGBu_ukYJw08ZEuZdzTz2OyM&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ACQP222Z45EUHIQ5TJHFMYLPULCKPANCNFSM4GZILVXQ&d=DwMCaQ&c=BNNF-YNv0CLLslhP2Bcx5Q&r=SjsIRf81D06XmEsmKkV_wxtLjrsUQpuz8iegmn0NIEg&m=UQg23SgDBhGX1kOeAU-oeGqnb-iJnCT0Z28c2YCPcUI&s=862c0S6uTexm3z9niOqyh9BetM_-OcobXGDrwlDICyk&e=.

glauber-experian avatar May 08 '19 13:05 glauber-experian