Skip to content

hubcli login

Performs a login to an Altair SLC Hub instance.

The command has the following format:

hubcli login [flags]

flags
One or more optional flags that provide additional control over execution of the command. The following flags are available:
-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
-p password or --password password
Specifies the password associated with the user specified by the -u option. Both the user name and password are required for authentication. If you do not specify this flag but do specify the -u flag, you are prompted for the corresponding password.
--use-device-code
Forces use of device code authentication.
-u name or --username name
Specifies the username for authentication. If you specify this flag but do not specify -p, you are prompted for a password.

Note: logon is an alias of login.