windows:scripting:mount_ssh_location_locally

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:
  • windows/scripting/mount_ssh_location_locally.txt
  • Last modified: 2024/07/03 11:09
  • by tplecko