---
schema_version: "1"
id: f0130a3e008eb2b2309f14e68ab5ff854fa96f45c559cd829b0799a674897b11
title: tsm login
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/server/cli_login.md
canonical_url: https://help.tableau.com/v0.0/server/en-gb/cli_login.htm
source_site: help.tableau.com
content_type: documentation
content_hash: d6df64ce5d24feb16f4f5fc64b6080e8711b700b91707e183d4794f0b3ede204
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-authorised 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/en-gb/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/en-gb/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.