1: install the required packages
apt-get install smbclient smbfs samba-common
2: use smdclient to get the remote host's shared fold list
smbclient -L \\remote_host_namenfs
3: use mount command to mount the shared fold to local
mount -t cifs/smbfs -o username=domain_name\\user_name,password='xxx' //remote_host_namenfs/ /mnt
note: add ' ' among password, use shared fold in the shared list got step 2 as the remote fold.
本文介绍了如何使用SMB协议安装必需的软件包、获取远程主机的共享文件夹列表以及将这些共享文件夹挂载到本地的方法。

被折叠的 条评论
为什么被折叠?



