After installing PostgreSQL database server, remote access mode is disabled by default for security reasons. However, sometimes you may want to allow remote connections to PostgreSQL database server from other locations, your home or office for example. In the next few lines I’ll guide you to do just that.
Connect to the remote server
First things first, you need to login to the remote server:
mirzap@bosnadev:~$ ssh root@remote-host
Continue reading How to allow remote connections to PostgreSQL database server