title: Save psql output to a local file over ssh?
body: <p>I connect to a sever over ssh and run </p>
  
  <pre><code>psql
  </code></pre>
  
  <p>I want to make a database extraction from the server but I can't save files on the remote because I don't have write-permission. How can I save it locally?</p>