Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. 2FA login with CLI

2FA login with CLI

Scheduled Pinned Locked Moved Solved Support
cli2fa
7 Posts 4 Posters 1.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by girish
    #1

    Hi! I would like a method to sign in to the CLI without 2FA. Use case is in CI/CD I would like to log in to be able to run the update command.

    girishG 1 Reply Last reply
    2
    • ? A Former User

      Hi! I would like a method to sign in to the CLI without 2FA. Use case is in CI/CD I would like to log in to be able to run the update command.

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @atridad API Token are for this. You can use cloudron list --token <token> --server my.domain.com, for example.

      ? 1 Reply Last reply
      3
      • girishG girish

        @atridad API Token are for this. You can use cloudron list --token <token> --server my.domain.com, for example.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #3

        @girish oh the help command didn’t mention a token as an option for the “cloudron login” command

        robiR nebulonN 2 Replies Last reply
        0
        • ? A Former User

          @girish oh the help command didn’t mention a token as an option for the “cloudron login” command

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4

          @atridad said in 2FA login with CLI:

          @girish oh the help command didn’t mention a token as an option for the “cloudron login” command

          good time to rev up the CLI --help

          Conscious tech

          1 Reply Last reply
          0
          • ? A Former User

            @girish oh the help command didn’t mention a token as an option for the “cloudron login” command

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            @atridad note that the --token option is for the other subcommands, not the actual login command.

            ? 1 Reply Last reply
            0
            • nebulonN nebulon

              @atridad note that the --token option is for the other subcommands, not the actual login command.

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              @nebulon does the same apply to server url?

              nebulonN 1 Reply Last reply
              0
              • ? A Former User

                @nebulon does the same apply to server url?

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #7

                @atridad yes it does. If you run cloudron --help you can see the "global" options on the top, which apply also to subcommands.

                1 Reply Last reply
                0
                • girishG girish marked this topic as a question on
                • girishG girish has marked this topic as solved on

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search