M HYPE SPLASH
// news

Locked SSH to a single IP and then lost that IP so I'm now locked out of the server

By Emily Wilson

I thought locked SSH access to my IP would be a good thing but now I'm completely locked out and nothing I do in rescue mode seems to work.

I've tried changing/removing/uninstalling iptables but nothing I do in rescue mode seems to save and as soon as I boot the machine back up from the HDD all the settings have returned :/

5

2 Answers

Many VPS hosting companies provide "console" access to fix problems like this. In a comment you mentioned you are using OVH. Here is their help page explaining how to use their implementation of console access:

Tom Brossman was correct there is a console but it's in a slightly different place for dedicated servers.

I feel a bit dumb so I'm going to leave this here for any other dumbasses like me :P

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy