We want to mount the home directory of some-lwp
on other-host
, so we can access that dir from both systems.
Make sure we can log in on the target machine
user@other-host:~$ ssh p123456@some-lwp.subdomain.rug.nl
<snip>
p123456@some-lwp:~$ logout
Connection to some-lwp.subdomain.rug.nl closed.
Create a mount point
user@other-host:~$ mkdir p123456@some-lwp
Note | |
---|---|
Yes, there's an “@”-sign in that directory name. No, it's not necessary. We could've named it “blueberry”. |
Mount the some-lwp homedir on other-host
user@other-host:~$ sshfs p123456@some-lwp.subdomain.rug.nl:/path-to-homedir/p123456 ~/p123456@some-lwp/
p123456@some-lwp.subdomain.rug.nl's password:
user@other-host:~$ ls p123456@some-lwp/
< contents of my homedir snipped >
user@other-host:~$
Note | |
---|---|
Using a |
Unmounting
user@other-host:~$ fusermount -u p123456@some-lwp