我有一个服务器,我通常通过ssh(密码)连接,服务器在networking上运行CentOS,但我从Windows 7计算机工作。 我一直在寻找通过SSH创build一个networking驱动器,但我想知道哪些是从Windows,sftp / ftp / samba / etc作为驱动器在服务器上工作的快速和可靠的方式?
服务器仅用于testing,所以不需要有很多安全function。
很多人不会喜欢我为你回答这个问题,但在这里。 如果您需要与CentOS 6.2的samba共享,您需要执行以下操作(加或减几个步骤):
1. Allow port 445 and 138 through your IPTables firewall or turn off the IPTables service. 2. Possibly demote SELinux to "permissive" mode using the SELinux management GUI (that you can download), then reboot. 3. Enable SMB as a service in the services manager. 4. Edit /etc/smbusers so it contains one of the non-root user accounts on your system. 5. Change smb config: a. security=share b. set "write list = +username" in smb.conf c. set browseable = yes in smb.conf d. set writable = yes e. set public =yes f. think about setting "hosts allow = 192" (or something similar for at least some amount of security)
然后,最后,使用Windows 7将驱动器映射到机器。
您可能希望使用Samba共享卷,并在Windows客户端上映射驱动器。 如果您在同一个networking上,则无需涉及SSH。