SMB (Server Message Block), commonly referred to as Samba service, was formerly called CIFS (Common Internet File System).
SMB protocol, called shares, allows the mounting of files/directors on the remote host to be shared to the local device on LAN (Local Area Network).
sudo apt install cifs-utils
directory to mount the shared drive: sudo mkdir /<local dir>
Create and open file (the dot makes the file hidden): sudo nano /root/.<filename>
Contents of the opened file:
Make the file ONLY accessible and readable by the root account: sudo chmod 400 /root/.<filename>
mount shared directory on remote device to local device, executed locally: sudo mount -t cifs -o rw,vers=3.0, credentials=/root/.<filename> //<remote ip>/<remote dir> <local dir>