---
schema_version: "1"
id: 3e0083ce8a67933359828e3978bdcfe29fa2168986c5d115e19b973946cb3a37
title: tsm login
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server-linux/cli_login.md
canonical_url: https://help.tableau.com/v0.0/server-linux/en-us/cli_login.htm
source_site: help.tableau.com
content_type: documentation
content_hash: e8b5c28d1ce45c32394687eae87b40472b51f16258d2110f4640f47669992daf
description: Reference for the tsm login command to log in to Tableau Services Manager from a remote node.
---
[Skip to main content](#main-content)

# tsm login

Use the `tsm login` command to log in to Tableau Services Manager from a remote node.

If the account you are logged in as is a member of the TSM-authorized group, you do not need to provide credentials to run commands when running tsm CLI locally. For more information, see [Authenticating with tsm CLI](https://help.tableau.com/v0.0/server-linux/en-us/tsm.htm#Authenti).

### Synopsis

`tsm login [global options]`

## Global options

\-h, --help

Optional.

Show the command help.

\-p, --password <password>

Required, along with `-u` or `--username` if no session is active.

Specify the password for the user specified in `-u` or `--username`.

If the password includes spaces or special characters, enclose it in quotes:

`--password 'my password'`

\-s, --server https://<hostname>:8850

Optional.

Use the specified address for Tableau Services Manager. The URL must start with `https`, include port 8850, and use the server name not the IP address. For example `https://<tsm_hostname>:8850`. If no server is specified, `https://<localhost | dnsname>:8850` is assumed.

\--trust-admin-controller-cert

Optional.

Use this flag to trust the self-signed certificate on the TSM controller. For more information about certificate trust and CLI connections, see [Connecting TSM clients](https://help.tableau.com/v0.0/server-linux/en-us/tsm_overview.htm#Connecti).

\-u, --username <user>

Required if no session is active, along with `-p` or `--password`.

Specify a user account. If you do not include this option, the command is run using credentials you signed in with.