/home/yellowtent/box/src/scripts/remotesupport.sh
-
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.
-
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.
@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-enabledis passed. -
@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-enabledis passed.@nebulon thank you! And what's the reason for that query?
-
@nebulon thank you! And what's the reason for that query?
-
@potemkin_ai the reason is for the rest API to deliver the state of remote support for the dashboard.
@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 thank you! So, I shall see it every time I'm opening an admin dashboard to show me if SSH remote support is enabled?
-
@potemkin_ai correct
@nebulon got it, thank you!
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