Shutdown #1125
Unanswered
hdswiss
asked this question in
Help wanted
Shutdown
#1125
Replies: 2 comments
-
Have you tried this command inside the docker container? docker exec -it UpSnap sh
sshpass -p "xxxxxxxxxxxxxxxxxxxxxxx" ssh -o "StrictHostKeyChecking=no" -p xxxxx [email protected] "sudo poweroff" Also, you have specified password (-p) twice. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The first -p is for the password, and the second -p is for the port. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Shutdown works when I enter this command in the console:
sshpass -p "xxxxxxxxxxxxxxxxxxxxxxx" ssh -o "StrictHostKeyChecking=no" -p xxxxx [email protected] "sudo poweroff"
But unfortunately, it doesn't work via UpSnap.
Beta Was this translation helpful? Give feedback.
All reactions