如果我有IP,如何访问SMB共享的文件?

Dee*_*ole 10 linux smb

有了IP,在Linux下如何访问共享的smb文件?

当我输入例如:

smb://192.168.0.50 我收到一条错误消息。

oak*_*kad 5

如果您确定目标计算机正在运行 samba,您可以将显式 IP 传递给smbclientmount.cifs

smbclient //<samba_name>/<share> -I <machine ip to connect to>

mount -t cifs //<samba_name>/<share> <mount point> -o ip=<machine ip to connect to>
Run Code Online (Sandbox Code Playgroud)