Skip to content

Marsy software installation

Margarita Matson edited this page Jul 14, 2026 · 2 revisions

Required project folders on the rover

On the Raspberry Pi, the project is expected at:

/home/astrosheep/marsy

Required runtime folders:

marsy_web/
marsy_backends/
marsy_core/
missions/
scripts/
4tronix/

SSH access

The rover hostname used in this setup is:

marsrover.local

The Raspberry Pi user is:

astrosheep

Basic SSH command:

ssh astrosheep@marsrover.local

If an SSH alias is configured in ~/.ssh/config, this shorter command can be used:

ssh marsrover

Recommended SSH config entry on the Mac:

    Host marsrover
    HostName marsrover.local
    User astrosheep

Passwordless SSH

To avoid typing the SSH password every time, use an SSH key.

On the Mac, create a key if it does not exist yet:

ssh-keygen -t ed25519 -C "marsrover"

Copy the public key to the rover:

ssh-copy-id astrosheep@marsrover.local

If ssh-copy-id is not available:

cat ~/.ssh/id_ed25519.pub | ssh astrosheep@marsrover.local "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys"

Test:

ssh astrosheep@marsrover.local

If it enters without asking for a password, key login works.


Copy the main runtime folders without simulator

rsync -av --progress \
  --exclude "__pycache__" \
  --exclude ".DS_Store" \
  marsy_web marsy_backends marsy_core missions scripts 4tronix \
  astrosheep@marsrover.local:/home/astrosheep/marsy/

The current workflow is

  1. Put new or changed files into the local Marsy folder on the Mac.
  2. Use rsync to copy them to the rover.
  3. Run the dashboard on the rover.

Local project folder example:

cd "/Users/...../astrosheeps/marsy"

Copy only changed files while preserving folder structure:

rsync -av --progress --relative \
  marsy_web/static/index.html \
  marsy_web/static/app.js \
  marsy_web/static/style.css \
  astrosheep@marsrover.local:/home/astrosheep/marsy/

With SSH alias:

rsync -av --progress --relative \
  marsy_web/static/index.html \
  marsy_web/static/app.js \
  marsy_web/static/style.css \
  marsrover:/home/astrosheep/marsy/

Copy the main runtime folders without simulator:

rsync -av --progress \
  --exclude "__pycache__" \
  --exclude ".DS_Store" \
  marsy_web marsy_backends marsy_core missions scripts 4tronix \
  astrosheep@marsrover.local:/home/astrosheep/marsy/

Clone this wiki locally