Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
1) why the fuck are you running commands as root. Always use a regular user and sudo if needed.
2) Always have an alternative method to connect e.g physical via console, remote via wake on lan device, web interface. -
w4tsn33837y@Chlodovechus 1) so true. 2) true true.
I woke up on lan indeed. Then I walked into the data center next door and used a console :/
@Jop- restart ssh
@epse Depends on OS you're on. If you have to deal with ubuntu it's ssh -
Noob64607yOne of the interns has done the same thing with his VNC server... Through a VNC client.
-
sauyon177yI did a similar thing with network configuration at one point... took a machine off the network, heh.
-
Idk what distros y'all use but usually sshd keeps open connections open (unless closed by the client) even if the service is stopped for this exact reason.
I just tried this on Debian and nothing broke and I could start ssh flawlessly again.
Related Rants
-
rephiscorth38Everyone here ranting about a fucking missing semicolon. I can't remember the last time a missing semicolon wa...
-
CodesNotHot11-Laughed at Gitlab the other day -Accidentally dropped my db today. fuck karma
-
codeclod15When you have a super annoying problem that Google has been unable to help with... But you stumble upon a link...
root@server:~# systemctl stop ssh *enter*
Wait! SHIT! FUCK FUCK *$§%§*"!
undefined
fuck
too sleepy for this shit
stupid