278
linuxxx
7y

*SSH's into VPS*
*Starts doing some general maintainance (updating, checking the logs etc)*
*runs the who command for fun*
*NOTICES THAT THERE"S ANOTHER ACTIVE SESSION*
*FURIOUSLY STARTS TO TRY AND LOOK HOW THAT USER MIGHT HAVE GOTTEN IN (root)*

*Goes one terminal to the left after a few minutes to see if I can use that one as well*
*notices an active and forgotten SSH session to that VPS*

I am stupid.

Comments
  • 38
    Thought this only happens to me...
  • 19
    @windlessuser Nope haha! Tbh I manage quite some servers and have shitloads of terminals open so it happens sometimes but never like this :P
  • 8
    @linuxxx it became so much of a problem - among other things - that I now preach immutable servers!
  • 10
    Logged in as root? You're living on the edge!
  • 6
    @configurator Just rebuild it through a control panel so I can't do much else than logging in as root xD
  • 11
    "who" command shows which IP the all the sessions, that would have saved you some time ;)
  • 2
    @Linux Yeah but that IP was not correct for either session :)
  • 1
    @linuxxx
    Oh, you use vpn right?
    Btw, you sound like a pfsense guy, are you?
  • 1
    @Linux I'm not using it currently but yeah wanna do! Just not sure how I'd set that up with multiple vps's (or just at home)
  • 2
    @linuxxx Yeah I wanna try it at home too, Found some nice machines on aliexpress that I am going to buy for that purpose
  • 2
    @Linux Missed the vpn part haha. Yup I'm full-time on vpn!
  • 2
    @linuxxx
    I understand your rant more then :D
  • 6
    Recently had a very annoying bot check a lot of typical admin page urls on my site. There is no such page but it bugged me. Looked up the ip. Residential in Russia. WHOIS lists even the 3 people living there and telephone. Lol
  • 0
    Classic, have ran into this as well.. LOL
  • 0
    @configurator why you say that? Virtual instances are usually logged in to as root. You need a key and they are regularly cleaned.
  • 1
    @xsacha because logging in as root is a good way to do bad things accidentally. I don't allow root login ever for servers I manage, so you can only do anything via sudo.
  • 1
    @matsaki95 yeah, we don't do that.
  • 0
    Who haven't done that.. X)
  • 0
    @Photon156
    Check your logs again ;) you will find more goodies.
    Fail2ban!
Add Comment