Skip to main content

Usage

With no arguments: opens an interactive terminal with bidirectional file sync. With a command: runs it non-interactively and returns (same as cassian exec).

Options

Interactive terminal

Opens a terminal. Your local files are synced to /workspace before connecting, then stay in sync both ways while you are connected. Edit locally in VS Code, see the changes on the GPU immediately. Edit on the GPU, changes appear locally. Type exit to disconnect.

Non-interactive (scripting)

Equivalent to cassian exec. Useful when you are already thinking in terms of SSH-like usage.

Skipping sync

Connects without pushing files first. Use this when connecting from a different machine, when your files are already in sync, or when you just want a quick look without triggering a push.

Tips

  • Use nohup python train.py & for jobs that should survive disconnection
  • Changes to cassian.yaml while connected are hot-reloaded (port forwarding updates live)
  • Ports declared in cassian.yaml are automatically forwarded during cassian ssh