# mesheryctl-system-login

LLMS index: [llms.txt](/llms.txt)

---

# mesheryctl system login

Authenticate to a Meshery Server

## Synopsis


Authenticate to the Local or a Remote Provider of a Meshery Server

The authentication mode is web-based browser flow
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system login [flags]

</div>
</div>
</pre> 

## Examples

Login with the Meshery Provider of your choice: the Local Provider or a Remote Provider.
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system login

</div>
</div>
</pre> 

Login with the Meshery Provider by specifying it via -p or --provider flag.
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system login -p Meshery

</div>
</div>
</pre> 

## Options

<pre class='codeblock-pre'>
<div class='codeblock'>
  -h, --help              help for login
  -p, --provider string   login Meshery with specified provider (run 'mesheryctl system provider list' to see options)

</div>
</pre>

## Options inherited from parent commands

<pre class='codeblock-pre'>
<div class='codeblock'>
      --config string    path to config file (default "~/.meshery/config.yaml")
  -c, --context string   (optional) temporarily change the current context.
  -v, --verbose          verbose output
  -y, --yes              (optional) assume yes for user interactive prompts.

</div>
</pre>

## See Also

Go back to [command reference index](/reference/mesheryctl/), if you want to add content manually to the CLI documentation, please refer to the [instruction](/project/contributing/cli/cli/#documenting) for guidance.
