ote that the server will not
   think the connection is SSL-encrypted, since in fact it is not
   encrypted between the
   <SPAN
CLASS="APPLICATION"
>SSH</SPAN
> server and the
   <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> server.  This should not pose any
   extra security risk as long as they are on the same machine.
  </P
><P
>   In order for the
   tunnel setup to succeed you must be allowed to connect via
   <TT
CLASS="COMMAND"
>ssh</TT
> as <TT
CLASS="LITERAL"
>joe@foo.com</TT
>, just
   as if you 