diff --git a/site_login.md b/site_login.md index 2a106cd..decebd6 100644 --- a/site_login.md +++ b/site_login.md @@ -36,3 +36,97 @@ digilab files: user:rdrew pw:rdrew@123 + +## mounting digilab files + +================================================= + +## Purpose + +Mount the remote Linux directory /media/DigiLab on the Mac so it can be +opened in Finder. + +## Server details + +Host: 137.149.52.214 +SSH user: rdrew +Remote path: /media/DigiLab + +Do not put your SSH password in this file, in a shell command, or in a +script. Enter it only when SSH prompts you. Since the password was shared +in a chat, consider changing it on the server before using it again. + +1. Let Homebrew finish + +--- + +The Homebrew installation may take a while while it builds dependencies. +The output showing: + + ==> perl ./Configure ... + ==> make + +means it is compiling OpenSSL. That can take some time. Leave it running +unless it has clearly stopped with an error. + +1. Install macFUSE and SSHFS + +--- + +After Homebrew is ready, run these commands in Terminal: + + brew install --cask macfuse + brew install gromgit/fuse/sshfs-mac + +If macOS asks you to approve the macFUSE system software, open: + + System Settings > Privacy & Security + +Approve the macFUSE software if that option is shown. Restart the Mac if +macOS requests it. + +1. Create a local mountpoint + +--- + +Run: + + mkdir -p ~/mnt/DigiLab + +This creates a folder in your home directory where the remote files will +appear. + +1. Mount the remote directory + +--- + +Run: + + sshfs rdrew@137.149.52.214:/media/DigiLab ~/mnt/DigiLab + +Enter the SSH password when prompted. The first time, SSH may ask whether +you trust the server's host key. Verify the host with your system +administrator before accepting if you are unsure. + +1. Open it in Finder + +--- + +Run: + + open ~/mnt/DigiLab + +You can also use Finder > Go > Go to Folder (Command-Shift-G) and enter: + + ~/mnt/DigiLab + +The remote files should appear there. You can drag the mounted folder into +Finder's sidebar for convenient access. + +1. Unmount when finished + +--- + +Close any Finder windows or files using the mount, then run: + + umount ~/mnt/DigiLab