Skip to Content

Prepare your workstation for this course

Before the first lesson, set up the tools this course uses. If you have not done it yet, take the free course Your Workstation — PuTTY, WinSCP, SSH Keys and Notepad++ first: it builds the SSH key, PuTTY session and WinSCP site every course relies on.

How this course works: You administer PostgreSQL as root over SSH and query it through a tunnel.

Tools for this course

#ToolGet it fromCheck it works
1PuTTY 0.85 — SSH terminal, PuTTYgen, Pageant, plinkchiark.greenend.org.uk/~sgtatham/puttyplink -V
2WinSCP 6.7 — file transfer and remote editingwinscp.netHelp → About
3Notepad++ 8.9.7 — set to Unix (LF), UTF-8notepad-plus-plus.orgstatus bar shows Unix (LF)
4Your Ed25519 SSH key, loaded in Pageantmade in the Workstation coursessh lab hostname
5psql client (from the PostgreSQL Windows installer, “Command Line Tools” only)postgresql.org/download/windowspsql --version
6DBeaver Community — graphical SQL clientdbeaver.ioconnect through an SSH tunnel to the lab
7An SSH tunnel to reach the lab database safelyssh -L 15432:127.0.0.1:5432 labclient connects to localhost:15432

Lab for this course: BP Lab PostgreSQL Sandbox — or any machine you control. Compare the host-key fingerprint in the welcome email when PuTTY or WinSCP asks.

Ready check

  1. Every “Check it works” line above passes.
  2. You can open a session to your lab (or the tool runs locally) without looking anything up.
  3. You know where your notes and downloaded files for this course will live — make a folder now.
Rating
0 0

There are no comments for now.

to be the first to leave a comment.