Last active
July 17, 2018 06:42
-
-
Save ovidner/79dd684fef1081f0abace77fa6e97498 to your computer and use it in GitHub Desktop.
Mount LiU home directory remotely on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username="oller120" | |
mountpoint="/Users/olle/liuhome" | |
homeserver="filur02.it.liu.se" | |
sudo ssh -L 139:$homeserver:139 -L 445:$homeserver:445 -N -f [email protected] | |
mount -t smbfs "//ad.liu.se;$username@localhost/students/$username" "$mountpoint" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment