SSH를 통해 Windows에서 원격 Linux 폴더를 마운트하려면 어떻게합니까? [닫은]
저는 현재 시스템 관리자 / 쉘 프로그래밍 수업에 참여하는 맹인입니다. ssh는 ls, pwd 등과 같은 명령을 실행하는 데 제대로 작동하지만 편집기는 화면 판독기와 ssh 세션에서 제대로 작동하지 않습니다. ssh 위에 Linux 폴더를 마운트하여 Windows 드라이브로 표시 할 수 있는지 궁금합니다. 이 방법으로 액세스 가능한 소프트웨어로 필요한 파일을 편집 할 수 있었으며 SCP를 사용하여 파일을주고받을 필요가 없습니다.
2002 년에 Novell 은 WebDAV, FTP, SFTP 등을 Windows 드라이브 문자에 매핑 할 수있는 NetDrive 라는 소프트웨어를 개발했습니다 . 이제는 버림웨어이므로 더 이상 유지 관리되지 않으며 (Novell 웹 사이트에서는 제공되지 않음) 무료로 사용할 수 있습니다. "netdrive.exe"를 검색하여 다운로드 할 수있는 내용이 상당히 있음을 알았습니다. 실제로 몇 가지를 다운로드하고 md5sum을 비교하여 일반적인 (그리고 희망적으로 안전한) 버전을 얻고 있는지 확인했습니다.
2017 년 11 월 10 일 업데이트 SFTPNetDrive 는 원본 netdrive 프로젝트의 현재 프로젝트입니다. 그리고 개인 용도로 무료로 제공했습니다.
SFTP Net Drive를 개인용으로 무료로 만들었습니다
그들은 웹 사이트에서도 옵션을 지불했습니다.
Dokan 은 Windows 용 FUSE 및 sshfs 구현처럼 보입니다. 예상대로 작동하고 광고하면 원하는 것을 정확하게 수행 할 수 있습니다.
(링크 업데이트 및 작동 2015-10-15)
내가 찾은 가장 쉬운 솔루션은 https://github.com/billziss-gh/sshfs-win 이며 연결된 서버는 완전히 작동하는 네트워크 드라이브로 표시됩니다. 이것은 경험에서보다 안정적이고 성능이 좋아 보이는 'Dokany'또는 'dokan'기반 솔루션이 아니며 WinFsp 성능 테스트 도 참조하십시오 .
Please note previously this answer stated, https://github.com/Foreveryone-cz/win-sshfs and before that http://www.swish-sftp.org/ but I no longer use any of them, first one stopped working second one created drives not fully supported in all programs.
Another, more Windows-y option (for $39) is http://www.expandrive.com/sftpdrive
Take a look at CIFS (http://www.samba.org/cifs/). It is a virtual file system you can run on your linux machine that will allow you to mount folders on your linux machine in windows using SMB.
CIFS on linux information can be found here: http://linux-cifs.samba.org/
You need to mount a remote share on your windows machine. This is what Samba/smb is for.
What you'll be doing is turning your Linux box into an SMB server, which lets it share files in a way that plays nice with Windows.
If you're not on the same network, you'll need to tunnel this through your SSH connection which may not be worth the effort.
check out Dokan
it's iffy, but it works, and it's free
I don't think you can mount a Linux folder as a network drive under windows having only access to ssh. I can suggest you to use WinSCP that allows you to transfer file through ssh and it's free.
EDIT: well, sorry. Vinko posted before me and now i've learned a new thing :)
Apparently the free NetDrive software from Novell can access SFTP file servers.
Second David's answer below: I needed to mount a network drive automatically when users logged in. Dokan SSHFS is a nice tool, but wasn't reliable enough in this case. The copy of Netdrive I found didn't support SSHFS or sftp - not sure if a more recent one does.
The solution I'm trialling now involves adding a virtual network adapter (with file sharing disabled), using plink to open a tunnel via the new adapter to the remote machine running SAMBA, and mounting the network drive against the new adapter. There's another useful tutorial here http://www.blisstonia.com/eolson/notes/smboverssh.php.
The tunnel and network drive can be set up with a login script, so a few seconds after login users can use the mapped drive without needing to take any action.
'Programming' 카테고리의 다른 글
테이블 찾아보기 / 편집 및 쿼리 실행을위한 SQL Server Management Studio 대안 (0) | 2020.07.06 |
---|---|
SQL 저장 프로 시저 내 동적 정렬 (0) | 2020.07.06 |
RequireJS에서 단위 테스트에 대한 종속성을 어떻게 조롱 할 수 있습니까? (0) | 2020.07.06 |
Task.Start (), Task.Run () 및 Task.Factory.StartNew () 사용에 대해 (0) | 2020.07.06 |
ASP.NET MVC : @section의 목적은 무엇입니까? (0) | 2020.07.06 |