SSH and Remote Development

Interactive Explorer 1

Explore key concepts interactively

Parameters

Quick Check

Key concept question for section 1?

Option A

Option B

Option C

Common Mistake: Common Mistake in Section 1

Mistake:

Overlooking a critical implementation detail.

Correction:

Always verify results against known benchmarks and theoretical predictions.

Key Term 1

Core concept from section 1 of chapter 46.

Definition:

SSH Configuration

SSH config for passwordless access to GPU servers:

Host gpu-server
    HostName 10.0.0.1
    User researcher
    IdentityFile ~/.ssh/id_ed25519
    ForwardAgent yes

Definition:

tmux Session Management

tmux keeps processes running after SSH disconnects:

tmux new -s training
python train.py  # survives disconnect
tmux detach       # Ctrl-b d
tmux attach -t training  # reconnect

Definition:

File Synchronization with rsync

rsync efficiently synchronizes files:

rsync -avz --exclude='*.pyc' --exclude='checkpoints/' \
    ./project/ gpu-server:~/project/