setup/doc/ssh-tunnel.md

10 lines
334 B
Markdown

# Connect to remote Postgre SQL Database using SSH Tunnel
```
ssh -L <local port>:<local host address>:<remote port> -p <SSH port of remote SSH server> <user at remote server>@<host name of remote server>
```
## Links
[Connect to PostgreSQL using an SSH tunnel](https://www.kevssite.com/connect-to-postgresql-using-an-ssh-tunnel/)