7
gitpush
7y

Aaaand I did it again T_T
Installed knockd for some reason it wasn't working well, couldn't unlock the port and guess what, internet disconnected for five minutes ==> My SSH session closed and I am locked out of my VPS :')

What is even worse Scaleway doesn't have a root user password when creating the server it uses a pre-entered ssh key that I put in my account, so I was pretty much locked out.

But I was able to remove it, they have custom scripts for booting so I was able to fireup a shell session during boot and removed knockd

Either I fail at using Linux or I really need to work on my self lol

Comments
  • 2
    Maybe you should try deploying containers instead, their ability to be replicated, destroyed and rebuilt is a thing of beauty.

    It takes a little adjusting initially to but once you get the gist of them you will never want to work and install dependencies on the host again.
  • 0
    @kurtr I was after securing my host, don't know why knockd didn't work but I need to close ssh ports at least. I do have password authentication disabled tho
Add Comment