connect to Server

connect [server_url] [{admin|user_name password}]

Connect to the server. If you provide a user name, a password is required.

Any administrator can connect. An administrator is either the admin user, any user in the $admin group, or any user that has administrator permissions enabled. See the Enterprise Message Service documentation, User's Guide, " Administrator Permissions".

server_url

server_url is usually in the form:

protocol://host-name:port-number username password

for example:

tcp://myhost:7222 user1 password

The protocol can be tcp or ssl via Transport Layer Security (TLS).

Connecting via TLS

Connecting via TLS requires TLS parameters. See the Enterprise Message Service documentation, User's Guide sections that follow:

For TLS passwords, you can provide a password file or use the ssl_password option.

Important: To connect through TLS, do not specify both ssl_key and ssl_identity properties at the same time. EMS allows only one at a time.