Skip to content

Instantly share code, notes, and snippets.

@altairlage
Created April 18, 2019 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save altairlage/d0a98aa02bb8800a96c00a88995c1e03 to your computer and use it in GitHub Desktop.
Save altairlage/d0a98aa02bb8800a96c00a88995c1e03 to your computer and use it in GitHub Desktop.
How to connect to a remote postgres database from linux
psql -h <endpoint/ip> -p <port> -d <dbname> -U <user> -W <password>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment