How to Mount a Remote Linux Folder in Windows Through Ssh

How do I mount a remote Linux folder in Windows through SSH?

Back in 2002, Novell developed some software called NetDrive that can map a WebDAV, FTP, SFTP, etc. share to a windows drive letter. It is now abandonware, so it's no longer maintained (and not available on the Novell website), but it's free to use. I found quite a few available to download by searching for "netdrive.exe" I actually downloaded a few and compared their md5sums to make sure that I was getting a common (and hopefully safe) version.

Update 10 Nov 2017
SFTPNetDrive is the current project from the original netdrive project. And they made it free for personal use:

We Made SFTP Net Drive FREE for Personal Use

They have paid options as well on the website.

Mounting Linux FS in Windows 10 using SSHFS

I found what I was looking for. Actually, XYZ for 'fs' if in total then sshfs command.
Here is how to install it:

  1. Install the latest version of WinFsp.
  2. Install the latest version of SSHFS-Win. Choose the x64 or x86 installer according to your computer’s architecture.
  3. Map Windows Drive using this URL: \sshfs\username@machine_ip....

Author of the following instructions can be found here

How can I create symlink on Windows to remote Linux folder using SSH?

A straight link like you mention maybe not, but you have some options:

https://github.com/billziss-gh/winfsp/releases/tag/v1.2POST1
https://medium.com/@danielmarinomirallestaset/mounting-linux-fs-in-windows-10-using-sshfs-e29c7ca81c87
http://makerlab.cs.hku.hk/index.php/en/mapping-network-drive-over-ssh-in-windows

After setting up something like you might be able to create links or shortcuts.

How to SSH from local linux into specific directory on windows 10 remote

I was able to figure this thing out myself. The following command gets the job done. Using double and single quotes together is required to make it work (in no particular order).

ssh -t user@x.x.x.x "'cd /targetDir ; bash'"

Copying a local file from Windows to a remote server using scp

If your drive letter is C, you should be able to use

scp -r \desktop\myfolder\deployments\ user@host:/path/to/whereyouwant/thefile

without drive letter and backslashes instead of forward slashes.

You are using putty, so you can use pscp. It is better adapted to Windows.

mounting remote network drive using sshfs

i would suggest installing samba on your debian server or maybe a ftp server for large file transfers.

FTP is unencrypted and you can set different compression options,
windows can map a ftp:// share in explorer without any tools

Best way to mount a Linux filesystem on Windows over the Internet?

This doesn't really answer the question but I'm a fan of Mozy for off-site backup.

  • Unlike Dropbox (which I do like too for sharing/syncing files), your files can be in any combination of directories.
  • Backups happens automatically in the background so you don't need to think about it
  • Backups are incremental - only changed files need to get sent
  • Like Dropbox, Mozy stores previous versions (up to a month?) so you're not in trouble even if you "backed up" files after they went wonky.
  • Your data will be encrypted with your own key (generated within Mozy client upon install) before it is sent over the wire, and you can optionally store this key with Mozy for safekeeping if you trust them enough and are afraid of losing your key.
  • And unlike the homebrew approach of copying files to another machine at home, your backups are truly off-site.


Related Topics



Leave a reply



Submit