-h --host
-h hostname
or --host hostname
specifies the host name of the machine on which the server is running. Use this flag to connect to Vertica remotely.
The following requirements and restrictions apply:
- If you use client authentication with a Kerberos connection method of either
gss
orkrb5
, you must specify-h hostname
. - Use the
-h
option if you want to connect to Vertica from a local connection, but want to use the an authentication record with the access methodHOST
(rather thanLOCAL
).