Mount a directory via SSH to a local drive letter (using keys)
- c:\users\user\.ssh\config
Host TargetHost HostName host.example.com User root Port 22 IdentityFile C:\Users\user\.ssh\user-priv-key
- Install WinFsp and SSHFS-Win
winget install -h -e --id "WinFsp.WinFsp" ; winget install -h -e --id "SSHFS-Win.SSHFS-Win"
- Mount directory
C:\Program Files\SSHFS-Win\bin\sshfs-win.exe svc \sshfs.k\TargetHost\.. x: