I am testing the connection from the barman backup server to my postgres server with this command
psql -c 'SELECT version()' -U barman -h hostnam.org postgres
which returns the error below
no pg_hba.conf entry for host "10.4.253.209", user "barman", database "postgres", SSL off
eventhoug I have this line in the pg_hba.conf
host postgres barman 10.4.253.209 trust (the same error occurs with md5 instead of trust)
can anybody provide me with a hint on what is going wrong here? expecially the SSL off part is confusing to me