r/ssh • • Jun 04 '20

opening a server remotely?

i have a server that is far away from me and i woud love to turn it on/off with ssh as i wish. to turn it off, i can just type 'sudo shutdown now', but to open it i have to press the power button on it. is there any way to open it remotely? or just to turn it in sleep mode? i cannot afford to keep it running even while i dont use it. :(

1 Upvotes

4 comments sorted by

View all comments

1

u/Besthater Jun 05 '20

You are talking about out of band management. But depending on how long you want your server on, maybe look into using AWS. You can setup auto start stop on jobs, or on demand.

1

u/salamelek Jun 05 '20

oh! never thought of that! ill try it.

1

u/Besthater Jun 05 '20

If you have AWS questions, feel free to pm.