Mounting Network Drive
Hello I am trying to mount a Hard drive on my PC onto my Laptop via the Network. I have made some progress as well i have set up ssh and sshfs and i have managed to mount the drive successfully the only problem is that every time i boot to do this i have to enter the command
Code:
sshfs 192.168.2.4:/mnt/data /mnt/pc |
Hello,
The right place for your startup mount is in /etc/fstab IMO. If you don't want to enter password, please use ssh-keygen to generate a key pair. If you need more specific information, please let me know and I can provide the code in detailed form. Regards, Agrouf |
Yes /etc/fstab is the 'standard' way to do it, but check the file and it's format to put your own in.
Out of curiosity, was there anything wrong with NFS? that seems a whole lot simpler to me. |
IT WORKS :) thanks for your help i now have it mounting on boot up
The reason i didn't use NFS was beacuse i had never heard of it and i already had ssh set up on my system. Does NFS have many benefits over sshfs ? |
All times are GMT -5. The time now is 08:48 PM. |