NeuroPy 2025 — SSH Access Setup

Use the tabs below for instructions tailored to your operating system. Replace ephysXX with your assigned username (e.g., ephys03).

Server Host 10.153.170.43
Alias gamma3
SSH Port 22
Course Folder /storage2/arash/teaching/neuropy
Your Account ephys01 … ephys10

What You Will Do

  1. Generate an SSH key on your laptop/desktop.
  2. Configure a convenient Host gamma3 entry.
  3. Test the first login with your temporary password.
  4. Install your public key on the server (password-less login).
  5. Verify you can write inside your personal folder.
Tip: Choose the tab that matches your OS. Commands are already adapted for you.

Server Details

Host gamma3
  HostName 10.153.170.43
  User ephysXX
  Port 22

Replace ephysXX with your username (e.g., ephys07).

macOS — Terminal

1) Generate SSH key

ssh-keygen -t ed25519 -C "your_email@domain.com"

Press Enter to accept the default path ~/.ssh/id_ed25519. Optionally set a passphrase.

2) Configure SSH

nano ~/.ssh/config
Host gamma3
  HostName 10.153.170.43
  User ephysXX
  Port 22

Save with Ctrl+O, Enter, then exit with Ctrl+X.

3) Test first login (password)

ssh gamma3

Use your temporary password (provided separately). Type exit to log out.

4) Install your public key

Preferred (automatic):

ssh-copy-id gamma3

Manual (if needed):

cat ~/.ssh/id_ed25519.pub
ssh gamma3
mkdir -p ~/.ssh && chmod 700 ~/.ssh
echo "<paste-your-key-here>" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

5) Verify write access

ssh gamma3
cd /storage2/arash/teaching/neuropy
cd <your_firstname>
touch test.txt
ls -l
rm test.txt

Linux — Terminal

1) Generate SSH key

ssh-keygen -t ed25519 -C "your_email@domain.com"

2) Configure SSH

nano ~/.ssh/config
Host gamma3
  HostName 10.153.170.43
  User ephysXX
  Port 22

3) Test first login (password)

ssh gamma3

4) Install your public key

ssh-copy-id gamma3

If ssh-copy-id is missing, use the manual method shown on the macOS tab — it's identical on Linux.

5) Verify write access

ssh gamma3
cd /storage2/arash/teaching/neuropy
cd <your_firstname>
touch test.txt
ls -l
rm test.txt

Windows — PowerShell (or Git Bash)

1) Generate SSH key

ssh-keygen -t ed25519 -C "your_email@domain.com"

Default location is C:\Users\<You>\.ssh\id_ed25519. Optionally set a passphrase.

2) Configure SSH

Create (or edit) the file C:\Users\<You>\.ssh\config with:

Host gamma3
  HostName 10.153.170.43
  User ephysXX
  Port 22

3) Test first login (password)

ssh gamma3

4) Install your public key

Show your public key locally:

type $env:USERPROFILE\.ssh\id_ed25519.pub

Copy the full line that starts with ssh-ed25519, then on the server:

ssh gamma3
mkdir -p ~/.ssh && chmod 700 ~/.ssh
nano ~/.ssh/authorized_keys  # paste your key, save
chmod 600 ~/.ssh/authorized_keys

If you prefer PuTTY: generate an Ed25519 key with PuTTYgen, save the .ppk, and paste the public key text into authorized_keys. In PuTTY, save a session named gamma3 with HostName 10.153.170.43 and your username.

5) Verify write access

ssh gamma3
cd /storage2/arash/teaching/neuropy
cd <your_firstname>
touch test.txt
ls -l
rm test.txt