Accessing AiMos Files in VSCode - cereal-d3v/LLM-ASR GitHub Wiki

Accessing AiMos Files in VSCode

This guide will help you mount your AiMos home directory locally and access files directly through VSCode.

Installation

For Ubuntu/Debian

Install sshfs using:

sudo apt-get install sshfs

For macOS

Install macfuse and sshfs using Homebrew:

brew install macfuse sshfs

If you don’t have Homebrew installed, use this command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Setup

	1.	Create a main directory for your mount points:

mkdir ~/mounts
cd ~/mounts
mkdir home


	2.	Use sshfs to mount the desired directory. The usage pattern is:

sshfs [email protected]:/gpfs/u/home/NLUG/NLUGvlsz ~/mounts/cci-home -o follow_symlinks,allow_other
- replace (NLUG)vlsv with your appropriate NLUG account username.

	3.	To disconnect the mount, close any open files or editors and run:

sudo umount ~/mounts/home



SSH Multiplexing Revisited

If you’ve set up SSH multiplexing, you can avoid repeated authentication prompts when using sshfs. With SSH multiplexing configured, use:

sshfs cci01:/gpfs/u/home/NLUG/NLUGvlsv ~/mounts/home -o follow_symlinks

This command will use the existing SSH control socket, reducing the need for additional authentication.

Accessing Files in VSCode

To open the mounted directory directly in VSCode, use:

code ~/mounts/cci-home

This command will launch VSCode with the AiMos files accessible as if they were local files.

Simply copy this text and paste it into your GitHub wiki editor.