...
The advantage of the CLI (Command Line Interface) is that is it not obvious to another casual user that you had mounted the hidden share . and (I got to research this) you can delete the history entries quickly and remove all traces of the private share.
Code Block | ||
---|---|---|
| ||
mkdir /Volumes/myshare.hidden/ # This can actually be any folder, but kept here by convention and generally matches the share folder. mount_ -t smbfs //secretuser@192.168.0.190/myshare.hidden/ /Volumes/myshare.hidden/ |
The command command mount_smbfs is is a wrapper for "mount -t smbfs" so the following command sequence will also work, though according to the man page for mount_smbfs we should use mount -t,
Code Block | ||
---|---|---|
| ||
mkdir /Volumes/myshare.hidden/ # This can actually be any folder, but kept here by convention and generally matches the share folder. mount -t _smbfs //secretuser@192.168.0.190/myshare.hidden/ /Volumes/myshare.hidden/ |
...
Note |
---|
Isn't there a way to not have to manually make the directory before mounting? |
...
Unmount Hidden Share with GUI
...