Skip to main content

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

or, in macOS

brew install sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

On BSD and macOS, to unmount the filesystem:

umount mountpoint

or

diskutil unmount mountpoint

For more see here, linuxjournal.com libfuse/sshfs

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

or, in macOS

brew install sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

On BSD and macOS, to unmount the filesystem:

umount mountpoint

or

diskutil unmount mountpoint

For more see here, linuxjournal.com libfuse/sshfs

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

Typo
Source Link
user232326
user232326

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testtestdir

"unlink" the dirs

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/test

"unlink" the dirs

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

In case if you need an alternate approach.

Install sshfs. if you use ubuntu/debian:

sudo apt-get install sshfs

or, if you use centos/rhel:

sudo yum install fuse-sshfs

Create an empty dir

mkdir /home/user/testdir

"link" or "mount" the two directories

sshfs [email protected]:/remote/dir /home/user/testdir

"unlink" the dirs

fusermount -u /home/user/testdir

For more see here, linuxjournal.com

added 46 characters in body
Source Link
Ruban Savvy
  • 9k
  • 8
  • 31
  • 44
Loading
the name of the unlinked local directory was different than the one used in the commands before
Source Link
Loading
Source Link
Ruban Savvy
  • 9k
  • 8
  • 31
  • 44
Loading