sftp – Use Network Drive in SFTP on Windows Server 2016

mappeddrivesftpsshwindows-server-2016

I'll start by specifying I'm not in the Sysadmin team at work, I work in another building with a small team and we are the "special cases". So they gave me full admin on our servers but I have no knowledge/power on the rest.

I have two servers, let's call them A and B.

A

  • Windows Server 2016
  • 35 TB of hard drives
  • Local network

B

  • Windows Server 2016
  • 200 GB
  • Behind firewalls, loadbalancers and such
  • OpenSSH (Only port 22 is open)
  • Mapped drive to server A on N:

I'm trying to let someone access the files on A by using sftp to server B. I tried symbolic links but it can't locate the folder when using WinSCP. I can't put the files on B since we have about 30 TB of data.

Any ideas? Thank you

Best Answer

Thanks to @eKKiM for the hint!

I couldn't run the service as the wanted SSH user, but by using the method used here : https://stackoverflow.com/a/7867064/3549186 I created a task to map the drive as the local System account and for the SSH user.

The symbolic link works perfectly now.

Related Topic