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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    Support
    2
    7
    274
    Loading More Posts
    • 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_ai
      potemkin_ai last edited by

      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.

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @potemkin_ai last edited by

        @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_ai 1 Reply Last reply Reply Quote 0
        • potemkin_ai
          potemkin_ai @nebulon last edited by

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

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @potemkin_ai last edited by

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

            potemkin_ai 1 Reply Last reply Reply Quote 0
            • potemkin_ai
              potemkin_ai @nebulon last edited by

              @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?

              nebulon 1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff @potemkin_ai last edited by

                @potemkin_ai correct

                potemkin_ai 1 Reply Last reply Reply Quote 0
                • potemkin_ai
                  potemkin_ai @nebulon last edited by

                  @nebulon got it, thank you!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB