login

This command logs the user into the Orchestration grid.

Syntax

zos login [servername] [--check] [--user=] [--passwd=] [--port=] [--env=]

Arguments

servername

The user must enter the hostname of the Cloud Manager Orchestration Server he or she is logging into. The default is localhost.

Options

-c, --check

Check and report existing login. Ignores other options.

-u, --user=<value>

Username known by the Orchestration Server. The user must enter a value with this option. The default is login.

-p, --passwd=<value>

User password for authentication. The user must enter a value with this option.

-P, --port=<value>

The port number used for communication between the Orchestration Server Portal and the Orchestration Server. The user must enter a value with this option.

-V, --env=<value>

Upload the local environment and store on the server. The user must enter a value with this option.

-C, --cols=<value>

The specification for the terminal width for formatting. The user must enter a value with this option.

-h, --help

Displays a help message for this operation.

-d, --debug

Turns on debug output during the login operation.

-v, --verbose

Turns on verbose output during the login operation.

-z, --tls=<value>

Force TLS/SSL encryption [on|off]. The user must enter a value with this option.

-Z, --tlsPort=<value>

Port number for TLS/SSL connections. The user must enter a value with this option.

-y, --tlsYesNew

Force acceptance of new TLS server certificates.

-Y, --tlsYesAll

Force acceptance of all TLS server certificates.

Examples

Example 1

To log in to the server Eng as tester20 you would use the following command:

zos login Eng --user=tester20

Example 2

To check the current login, you would use the following command:

zos login --check