SSH Mount in Ubuntu

I did the following, you might not need to do it all:

Create mount dir and chown it to the user who needs to access it.

Add the following line to fstab:
sshfs#USERNAME@SERVER:/PATH /mnt/MOUNTPOINT fuse defaults,noauto,user,uid=mike,gid=mike,allow_other,reconnect,transform_symlinks 0 0

For automated mounts add ssh keys.

Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar