<a id="lxc-remote-add-md"></a>

# `lxc remote add`

Add new remote server

## Synopsis

Description:
Add new remote server

URL for remote resources must be HTTPS (https://).

Basic authentication can be used when combined with the “simplestreams” protocol:
lxc remote add some-name [https://LOGIN:PASSWORD@example.com/some/path](https://LOGIN:PASSWORD@example.com/some/path) –protocol=simplestreams

```none
lxc remote add [<remote>] <IP|FQDN|URL|token> [flags]
```

## Options

```none
      --accept-certificate   Accept certificate
      --auth-type            Server authentication type (tls or oidc
      --password             Remote admin password
      --project              Project to use for the remote
      --protocol             Server protocol (lxd or simplestreams
      --public               Public image server
      --token                Remote trust token
```

## Options inherited from parent commands

```none
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
  -q, --quiet          Do not show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc remote](https://canonical.com/lxd/docs/latest/reference/manpages/lxc/remote/index.html.md#lxc-remote-md)	 - Manage the list of remote servers
