Mounting ERDA on macOS Using SSHFS - Complete Setup Guide

slide1 n.w
1 / 6
Embed
Share

Learn how to mount ERDA on macOS using SSHFS with step-by-step instructions, SSH key setup, and scripts for easy mounting and unmounting. Follow this comprehensive guide for seamless access and data transfer.

  • macOS
  • SSHFS
  • ERDA
  • Mounting
  • Setup

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. ERDA MacOS mount using SSHFS Jesper Lykkegaard Karlsen DM coordinator, Science

  2. SSHFS setup Download and install SSHFS: https://github.com/osxfuse/sshfs/releases/download/osxfuse-sshfs-2.5.0/sshfs-2.5.0.pkg Download and install latest version of FUSE-T for macOS https://github.com/macos-fuse-t/fuse-t Run this command from Terminal.app sudo ln -s /usr/local/lib/libfuse-t.dylib /usr/local/lib/libosxfuse_i64.2.dylib

  3. SSH keys for easy validation Run this: ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_erda cat ~/.ssh/id_erda.pub Copy public SSH key to placeholder

  4. Insert SSH public keys in ERDA Login at https://www.erda.au.dk Click in bottom left corner Select Setup -> SFTP Pasta the inside the Public Keys box Maybe also set a password Click Save SFTP Settings

  5. erda_mount script #!/bin/bash LOGIN=jelka@mbg.au.dk SOURCE="io.erda.au.dk:" MOUNT_DIR=~/erda SSH_OPTS="ssh -i ~/.ssh/id_erda -p 2222" MOUNT_OPTS="volname=ERDA,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,idmap=user,auto_xattr,dev,suid,defer_permi ssions,noappledouble,noapplexattr" if [ ! -d ${MOUNT_DIR} ]; then mkdir ${MOUNT_DIR} fi sshfs ${LOGIN}@${SOURCE} ${MOUNT_DIR} -o ${MOUNT_OPTS},ssh_command="${SSH_OPTS} open ${MOUNT_DIR} EDIT at least LOGIN to fit needs and put in ~/bin/ en ${MOUNT_DIR}

  6. erda_umount script and final setup #!/bin/bash diskutil unmount ~/erda EDIT to needs and put in ~/bin/ Make both scripts executable: chmod 755 ~/bin/erda_* Mount and un-mount ERDA by running: bin/erda_mount Bin/erda_umount

More Related Content