Pgadmin Terminal Connect

            
            
            bash-4.2$ psql -h <hostname or ip address> -p <port number of remote machine> -d <database name which you want to connect> -U <username of the database server>
Wandering Wombat