Skip to content

Commit

Permalink
Merge pull request #104 from at88mph/main
Browse files Browse the repository at this point in the history
Add SSHFS preparation.
  • Loading branch information
sfabbro committed Jun 7, 2024
2 parents e1870f9 + 43c99fd commit 7b24184
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/general/General_tools/Using_sshfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/general/General_tools/images/sshfs/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/general/General_tools/images/sshfs/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7b24184

Please sign in to comment.