[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>$ sudo power off on my server >forgot I closed the ssh session
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 41
Thread images: 5
File: cry.png (1 MB, 1280x720) Image search: [Google]
cry.png
1 MB, 1280x720
>
$ sudo power off
on my server
>forgot I closed the ssh session
>>
A mistake made possible only by Loonix.
>>
>>51881453
>ssh into windows server
>windows server has no ssh
>windows desktop has no ssh
>laptop bluescreens
>>
>>51881453
Mistake made possible by not looking at where you are.
It fucking tells you on the prompt where you are at.
>>
>>51881353
Why is doing this bad?
>>
>>51881852
Was in a local shell and laptop shut down without warning
>>
>>51881525
Depends on how he configured his shit.

GNU/X11 should warn you about bad configurations.
>>
>>51881353
Don't you have to supply the password? Do you reuse the same password?
>>
File: 1440684485719.png (327 KB, 775x589) Image search: [Google]
1440684485719.png
327 KB, 775x589
>>51881495
>Remote desktop into a windows PC
>Run program
>Power goes out, connection dies
>Come back, program still running as expected

>SSH into server
>Run program
>Power goes out
>Program dies with the SSH shell, all progress lost
>>
>>51881972
>not using screen
>>
File: 1275680798493.jpg (13 KB, 256x256) Image search: [Google]
1275680798493.jpg
13 KB, 256x256
>Work in tech support
>"Yeah no problem I'll schedule a reboot tonight"
>at 11pm shutdown /r /f
>forget about the VMs
>VHD corrupt on sites DC on forced shutdown
>have to send engineer out next morning who manages to hack the thing back together
>>
why wouldn't you just type exit to leave the ssh session instead?
>>
>>51882004
maybe he wanted to turn it off senpai
>>
>>51881951
Yeah, though to connect I just use GPG
>>
>not having mollyguard installed
>>
>>51882025
but isn't he upset that he accidentally powered off his server?
>>
>>51882056
he's upset because he turned off his laptop, thinking he was still connected to his server
>>
>>51881972
Is there a way to preserve ssh sessions between connections?
>>
>>51881972
>tmux session keeps program running
>all is well
>>
Just have to make the call of shame.
>>
>>51882077
GNU screen or tmux
>>
>>51881972
>Program dies with the SSH shell, all progress lost
If that is true, you are doing something very wrong.
>>
>>51882089
Thanks anon. This'll help with playing dorf fort on my shitty cell service
>>
>>51881353
did you order pizza?
>>
File: 1449998351270.png (136 KB, 300x300) Image search: [Google]
1449998351270.png
136 KB, 300x300
>>51881353
>issue the wrong shutdown command to a sun server
>drops to the ok prompt instead and forces me to finish it through serial console
>>
>>51882002
>>51882089
>>51882079
learned about these recently.

what a game changer they are for me.
>>
>>51881353
This isn't your blog you fucking animu faggot.

Back to your containment board. >>>/a/
>>
>>51882778
/g/ is not your personal blog for whining about things that trigger you :^)

>>>/s/uicide
>>
>>51882002
>>51882089
>using ganoo screen aids instead of tmux
Enjoy your ganoo+bloat.
>>
>>51882778
N-no bully pls...
>>
>>51881353
>Power off
>Not 'halt'
>not 'init 0'
>>
>>51881353
>powering off your server
>>
>>51881525
Accidentally wiped a prod server because of this.
Thought I was on the backup. Fucking hostnames man, that was the day I learnt their importance.
>>
>>51882088
>not having irmc or equivalent installed
>>
File: 1434407137672.png (1 MB, 1280x720) Image search: [Google]
1434407137672.png
1 MB, 1280x720
>>51881353
EAT UR PIZZA, ANIME
>>
>>51881353
>used w3m to browse 4chan
>forgot I am still logged in another server from a friend
>he now knows what I am reading online because his router logs it.
fml
>>
You a would get a syntax error power off is not s command
>>
>>51881453
A mistake made possible only via pebkac
>>
>>51882095
This is normal because the program is a child process of the shell. If they didn't die with it, you would be doing something very wrong.

You can detach them from the login shell using screen.
>>
>>51884165
>not s command
>>
I want some pizza
Thread replies: 41
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.