had attempted to use <TT
CLASS="COMMAND"
>ssh</TT
> to create a
   terminal session.
  </P
><P
>   You could also have set up the port forwarding as
</P><PRE
CLASS="PROGRAMLISTING"
>ssh -L 63333:foo.com:5432 joe@foo.com</PRE
><P>
   but then the database server will see the connection as coming in
   on its <TT
CLASS="LITERAL"
>foo.com</TT
> interface, which is not opened by
   the default setting <TT
CLASS="LITERAL"
>listen_addresses =
   'localhost'</TT
>.  This is usually not what you want.
  </P
><P
>  