大网数据广告活动
服务器运维问答

Use network drive in sftp on Windows 2016

· 52CE 我爱测

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 ha…

问题原文

原帖链接 · James McGrath · CC BY-SA 4.0

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

已采纳解答

原帖链接 · James McGrath · CC BY-SA 4.0

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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-03-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。