Tutorial on how to use CIFS/SMB over SSH in Windows

View the Project on GitHub jjkeijser/cifs-over-ssh


Sometimes there is a need to mount a remote Windows/Samba directory, but all you have is an SSH connection to a remote server close to the fileserver. This tutorial tries to explain how you can set up these Windows shares on Windows 10 & 11.

The concept behind mounting shares using SSH is this:

This tutorial has been tested on Windows 2000, XP, Vista, 7, 8, 10 and 11.

Note This tutorial does not work on Windows Server 2016 or 2019. If someone finds a way to make it work for Windows Server editions please let me know!

Types of access

For Windows 10+, the tutorial is now split into multiple parts, depending on the type of remote server access that is required:

Legacy tutorials

The following legacy tutorial pages are also available as single HTML pages: