diff --git a/docs/general/General_tools/Using_sshfs.md b/docs/general/General_tools/Using_sshfs.md index e7d5ac2..6bd3852 100644 --- a/docs/general/General_tools/Using_sshfs.md +++ b/docs/general/General_tools/Using_sshfs.md @@ -18,6 +18,37 @@ installed through apt-get: download FUSE and SSHFS from the [osxfuse site](https://osxfuse.github.io) +## Prepare your Arc account + +A public SSH key will need to be installed into your Arc home directory. Ensure you have a `.ssh` folder in your `/home/[your_cadc_username]` folder. You can do this through the UI: + +https://www.canfar.net/storage/arc/list/home + +1. Ensure you are logged in using the pulldown in the top right menu. +> ![image](images/sshfs/login.png) + +2. Visit your `Home` folder. +> ![image](images/sshfs/home.png) + +3. If there is no `.ssh` folder listed, create one. +> ![image](images/sshfs/add-folder.png) + +> ![image](images/sshfs/new-folder-name.png) + +> ![image](images/sshfs/folder-created.png) + +4. Ensure you have a file called `authorized_keys` with your SSH public key in it. This public key should match which ever private key you are using to authenticate with. For example, if your private key on your local machine is `${HOME}/.ssh/id_rsa`, then your public key is likely `${HOME}/.ssh/id_rsa.pub`. +> ![image](images/sshfs/auth-keys.png) + +5. Upload the `authorized_keys` file to the newly created `.ssh` folder on Arc by following the link to the folder in the browser, then `Upload`ing the file +> ![image](images/sshfs/folder-created.png) + +> ![image](images/sshfs/add-file.png) + +> ![image](images/sshfs/file-added.png) + +Now you can proceed to mounting it. + ## Mount the Remote File System For Ubuntu/Debian Linux or Mac OSX, the instructions are below. diff --git a/docs/general/General_tools/images/sshfs/add-file.png b/docs/general/General_tools/images/sshfs/add-file.png new file mode 100644 index 0000000..f13dbca Binary files /dev/null and b/docs/general/General_tools/images/sshfs/add-file.png differ diff --git a/docs/general/General_tools/images/sshfs/add-folder.png b/docs/general/General_tools/images/sshfs/add-folder.png new file mode 100644 index 0000000..a79d9ad Binary files /dev/null and b/docs/general/General_tools/images/sshfs/add-folder.png differ diff --git a/docs/general/General_tools/images/sshfs/auth-keys.png b/docs/general/General_tools/images/sshfs/auth-keys.png new file mode 100644 index 0000000..4d2edfb Binary files /dev/null and b/docs/general/General_tools/images/sshfs/auth-keys.png differ diff --git a/docs/general/General_tools/images/sshfs/file-added.png b/docs/general/General_tools/images/sshfs/file-added.png new file mode 100644 index 0000000..35ccb0b Binary files /dev/null and b/docs/general/General_tools/images/sshfs/file-added.png differ diff --git a/docs/general/General_tools/images/sshfs/folder-created.png b/docs/general/General_tools/images/sshfs/folder-created.png new file mode 100644 index 0000000..f10e7bb Binary files /dev/null and b/docs/general/General_tools/images/sshfs/folder-created.png differ diff --git a/docs/general/General_tools/images/sshfs/home.png b/docs/general/General_tools/images/sshfs/home.png new file mode 100644 index 0000000..8792f2e Binary files /dev/null and b/docs/general/General_tools/images/sshfs/home.png differ diff --git a/docs/general/General_tools/images/sshfs/login.png b/docs/general/General_tools/images/sshfs/login.png new file mode 100644 index 0000000..edd9b22 Binary files /dev/null and b/docs/general/General_tools/images/sshfs/login.png differ diff --git a/docs/general/General_tools/images/sshfs/new-folder-name.png b/docs/general/General_tools/images/sshfs/new-folder-name.png new file mode 100644 index 0000000..a6e7868 Binary files /dev/null and b/docs/general/General_tools/images/sshfs/new-folder-name.png differ