# Set up Debian Stretch node # Install postgres repos: echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc/apt/sources.list.d/pgdg.list wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - apt update apt dist-upgrade apt install pgadmin4 pgadmin4-apache2 pgadmin4-doc # On workstation create tunnel: ssh -N -C -L 5050:localhost:80 pgadmin # On workstation, in browser: http://localhost:5050/pgadmin4