Open mwolter805 opened 3 years ago
This might be a misunderstanding on my part, but don't SCP and SFTP both use a (single) SSH connection? I'm not entirely sure how appliances would differentiate.
And is this feature request to allow mounting remote folders in VS Code (like is currently the case with SFTP), or are you asking to have these files/folders be accessible outside VS Code, as in an OS-wide mount?
Hello @SchoofsKelvin, yes this would be an enhancement request to allow mounting of remote folders in VS Code via SSH/SCP. The goal would be to have the same functionality as SFTP but using SCP instead.
Overview of SCP https://www.ionos.com/digitalguide/server/know-how/scp-secure-copy/ Difference between SCP and SFTP https://www.maketecheasier.com/scp-vs-sftp/ WinSCP requirements for SCP https://winscp.net/eng/docs/requirements#scp
Basically, it's very similar to SFTP, also uses an established SSH connection but is more performant and is included with virtually every operating system. As I mentioned, SFTP is often not included with integrated systems (IoT, network equipment or home automation products), but SCP is. However, SCP only provides services for file transfer and directory listing performed by the shell.
Ah, so basically for (integrated) systems that have simple SSH (and bash) support, but no sftp-server
. I'll look into adding support for SCP, but at first glance it looks like I'll have to actually write every required operation with output parsing (e.g. ls -la
), so it'll take quite a bit. That's disregarding the required work for making the extension support two systems at once.
I'm currently quite busy with finals and my thesis, so it'll be quite a while before this feature will be finished (or even started).
Please remove the SCP tag from the market place if this doesn't support SCP Tag @ https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs
Hello, Thank you for the great extension. I use it quite a bit for administering Linux servers and having the ability to directly edit and upload files is very handy.
Would like to ask for remote folders to be able to be mounted using SCP. Many appliances (routers, firewalls, access points, etc.) do not support SFTP but do support SCP by default. It would be extremely convenient to administer these devices via VS Code instead of using an application such as WinSCP if Windows or the terminal (scp root@[HOST]:/root/file.ext ~/Desktop/file.ext) for Mac or Linux.