Mounting remote systems

Mounting remote SSH/SFTP.

Prerequisite:

sudo apt-get install sshfs

Mounting:

sshfs remoteuser@remotehost:/remote/location /home/myuser/mountpoint

Unmounting:

sudo fusermount -u /home/myuser/mountpoint

 

Mounting remote FTP

Prerequisite:

sudo apt-get install curlftpfs

Mounting:

curlftpfs remoteuser:remotepassword@remotehost:/remote/location /home/myuser/mountpoint

Unmounting:

sudo umount /home/myuser/mountpoint

 

Permission problem with Fuse during mount of SSH or FTP

All you have to do to avoid this error is to add your user to this group (make it additional group):

sudo usermod -a -G fuse myuser

 

Mounting remote Windows Share

Prerequisite:

sudo apt-get install smbfs

Mounting:

mount -t cifs //windowsserver/sharename -o username=remoteuser,password=remotepassword /home/myuser/mountpoint

Unmounting:

sudo umount //windowsserver/sharename

Having problems unmounting? Use lazy unmount.

sudo umount -l //windowsserver/sharename

Category: Administration, Updated May 4, 2012 from admin | Log in

No Comments

Add your comment - TrackBack- RSS Comments

Add your comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">