You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/libfuse/sshfs enables mounting a SFTP endpoint as a local filesystem. Seems like we should be able to use this concept with a PSProvider thus enabling something like:
cd SFTP:
# no creds passed as using pubkey auth
SFTP:>Connect-SftpServer-HostName foo
cd foo
SFTP:/foo>
Since we want this to be cross platform, we shouldn't use sshfs linked above. Instead, we should be able to just use sftp.exe directly with some check that it is available. This will work on Windows with OpenSSH installed.
Bill Easton (@strawgate) This enhancement is about FTP over SSH (SFTP) to improve remote administration. In my opinion, FTP and FTPS are out of scope and need a different library (like this one : FluentFTP )
FTP is very old, insecure protocol with very poor capabilities. I see use cases for compatibilites with old systems which can work only with FTP but I think this is the case when it should be separated from core.
For reference. We should work transparently with any transport (WSMan, SSH and etc). Also we discussed previously that we need to implement provider-to-provider communications (ex.: copy-item).
Steve Lee (@SteveL-MSFT): Are the any ideas to put some effort in this implementation?
I don't understand your proposed technical idea. Should this work as a wrapper around the ssh and sftp commands?
Activity
strawgate commentedon May 1, 2019
This would be great if it also supported insecure ftp
fMichaleczek commentedon May 1, 2019
Bill Easton (@strawgate) This enhancement is about FTP over SSH (SFTP) to improve remote administration. In my opinion, FTP and FTPS are out of scope and need a different library (like this one : FluentFTP )
iSazonov commentedon May 1, 2019
FTP is very old, insecure protocol with very poor capabilities. I see use cases for compatibilites with old systems which can work only with FTP but I think this is the case when it should be separated from core.
For reference. We should work transparently with any transport (WSMan, SSH and etc). Also we discussed previously that we need to implement provider-to-provider communications (ex.: copy-item).
SteveL-MSFT commentedon May 1, 2019
Regular FTP should be covered by PowerShell/PowerShell-RFC#124
SteveL-MSFT commentedon May 2, 2019
With such a provider, you don't even have to
cdinto the psdrive, you should be able to do this:ThomasNieto commentedon Sep 14, 2020
If this gets implemented #6586 would need to be fixed to enable cross-provider support for the example to work.
chrgraefe commentedon Apr 30, 2021
Steve Lee (@SteveL-MSFT): Are the any ideas to put some effort in this implementation?
I don't understand your proposed technical idea. Should this work as a wrapper around the ssh and sftp commands?
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.