I have two computers running Ubuntu 16.04 and 18.04 respectively and both are connected via TCP/IP
. Right now I am accessing one another via SSH most of the time but I want to permanently mount a certain partition of one computer into the filesystem of the other for convenience.
I tried to facilitate this with an entry in the fstab like this
//IP/home/User /media/myfolder cifs auto,uid=1000,vers=1.0,gid=1000, user=username, pass=XXX 0 0
but that doesn't seem to work. What is the correct way of doing this?
nfs
is recommended and I just mount one partition on another machine withnfs
:192.168.0.123:/opt on /mnt/storage