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. /home/yellowtent/box/src/scripts/remotesupport.sh

/home/yellowtent/box/src/scripts/remotesupport.sh

Scheduled Pinned Locked Moved Solved Support
7 Posts 2 Posters 1.9k Views 2 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.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #1

    What does those entries mean?

    2021-09-22T07:35:10.006Z box:apphealthmonitor app health: 0 alive / 0 dead.
    2021-09-22T07:35:14.777Z box:shell support spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/remotesupport.sh is-enabled /home/ubuntu/.ssh/authorized_keys
    2021-09-22T07:35:14.819Z box:shell support (stdout): sudo
    2021-09-22T07:35:14.819Z box:shell support (stdout): : 
    2021-09-22T07:35:14.819Z box:shell support (stdout): unable to resolve host DomainName
    2021-09-22T07:35:14.819Z box:shell support (stdout): 
    
    2021-09-22T07:35:14.826Z box:shell support (stdout): false
    
    2021-09-22T07:35:20.003Z box:apphealthmonitor app health: 0 alive / 0 dead.
    

    It looks like an automatic enable of the SSH access to the platform, which I didn't do for sure.

    Checked the log file, it only happened today, twice.

    nebulonN 1 Reply Last reply
    0
    • potemkin_aiP potemkin_ai

      What does those entries mean?

      2021-09-22T07:35:10.006Z box:apphealthmonitor app health: 0 alive / 0 dead.
      2021-09-22T07:35:14.777Z box:shell support spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/remotesupport.sh is-enabled /home/ubuntu/.ssh/authorized_keys
      2021-09-22T07:35:14.819Z box:shell support (stdout): sudo
      2021-09-22T07:35:14.819Z box:shell support (stdout): : 
      2021-09-22T07:35:14.819Z box:shell support (stdout): unable to resolve host DomainName
      2021-09-22T07:35:14.819Z box:shell support (stdout): 
      
      2021-09-22T07:35:14.826Z box:shell support (stdout): false
      
      2021-09-22T07:35:20.003Z box:apphealthmonitor app health: 0 alive / 0 dead.
      

      It looks like an automatic enable of the SSH access to the platform, which I didn't do for sure.

      Checked the log file, it only happened today, twice.

      nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      @potemkin_ai the way this script is used in this case is to just query the state of the remote SSH support. See https://git.cloudron.io/cloudron/box/-/blob/master/src/scripts/remotesupport.sh#L26 for what it does if is-enabled is passed.

      potemkin_aiP 1 Reply Last reply
      0
      • nebulonN nebulon

        @potemkin_ai the way this script is used in this case is to just query the state of the remote SSH support. See https://git.cloudron.io/cloudron/box/-/blob/master/src/scripts/remotesupport.sh#L26 for what it does if is-enabled is passed.

        potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote on last edited by
        #3

        @nebulon thank you! And what's the reason for that query?

        nebulonN 1 Reply Last reply
        0
        • potemkin_aiP potemkin_ai

          @nebulon thank you! And what's the reason for that query?

          nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          @potemkin_ai the reason is for the rest API to deliver the state of remote support for the dashboard.

          potemkin_aiP 1 Reply Last reply
          0
          • nebulonN nebulon

            @potemkin_ai the reason is for the rest API to deliver the state of remote support for the dashboard.

            potemkin_aiP Offline
            potemkin_aiP Offline
            potemkin_ai
            wrote on last edited by
            #5

            @nebulon thank you! So, I shall see it every time I'm opening an admin dashboard to show me if SSH remote support is enabled?

            nebulonN 1 Reply Last reply
            0
            • potemkin_aiP potemkin_ai

              @nebulon thank you! So, I shall see it every time I'm opening an admin dashboard to show me if SSH remote support is enabled?

              nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #6

              @potemkin_ai correct

              potemkin_aiP 1 Reply Last reply
              0
              • nebulonN nebulon

                @potemkin_ai correct

                potemkin_aiP Offline
                potemkin_aiP Offline
                potemkin_ai
                wrote on last edited by
                #7

                @nebulon got it, thank you!

                1 Reply Last reply
                0

                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