News for hackers. Stuff that matters.
Re:OVH's Maintenance SSH Keys compromised by alx on Friday July 20, 2012 @09:31AM (#4270648)
False alert:

The information is wrong, and OVH was right. I hereby apology for the mistake. See this for more details. FS#7060 — Debian: log d'authentification SSH incorrect. http://travaux.ovh.net/?do=details&id=7060&edit=yep

Re:OVH's Maintenance SSH Keys compromised by Loic on Friday July 20, 2012 @09:03AM (#4270515)
I have the same trace in my logs and I disabled the key for the moment. For a quick translation because the page is in French:

If you have a server with OVH, they setup by default a secondary SSH key in /root/.ssh/authorized_keys2 which is allowed to access your server only from a single IPv4 and a single IPv6. This is to allow debugging of your server.

It looks like the private key has been compromised and is now used to try to access the servers from another IP. Your server will not be compromised, but by security, better to disable this extra key by renaming the file "authorized_keys2.disabled".

You can check your logs with a grep like this:

    # grep "correct" /var/log/auth.log
    Jul 17 21:42:49 node1 sshd[18548]: Authentication tried for root with correct \
    key but not from a permitted host (host=178.63.21.XXX, ip=178.63.21.XXX).
Re:OVH's Maintenance SSH Keys compromised by kerneis on Friday July 20, 2012 @09:13AM (#4270553)
> from a single IPv4 and a single IPv6

Actually only from a single IPv4 (cache.ovh.net). The IPv6 address is the equivalent IPv4 mapped to IPv6 (::ffff: prefix).

Re:OVH's Maintenance SSH Keys compromised by byroot on Friday July 20, 2012 @09:26AM (#4270622)
It seems to be an SSH bug http://linuxfr.org/nodes/94898/comments/1369391

If there is a "from" filter on a key in case of failure this message appear even if the key don't match.

Re:OVH's Maintenance SSH Keys compromised by _Lemon_ on Friday July 20, 2012 @09:08AM (#4270532)
I just fired off an e-mail to OVH to see their response (and to probably make them more aware of this).

OVH pre-install a number of things by default on their Debian image including monitoring software (it integrates into their manager) and this key.

The only way to make sure things like this are a non-issue is to do a clean install yourself, e.g., via debootstrap in "rescue pro mode".

You can then install the key on their request if required giving you more control.

Re:OVH's Maintenance SSH Keys compromised by _Lemon_ on Friday July 20, 2012 @09:23AM (#4270608)
I have a response from OVH:

We are aware of this and are currently investigating it. Our initial thoughts were that it was indeed a compromise but after further review it seems that this is actually a bug with Debian and certain versions of RedHat.

We've tested it with different keys and have suffered the same results. I'll let you know if anything changes and we'll be announcing this shortly.

Thank you in any case, but rest assured it's not a serious issue.

Re:OVH's Maintenance SSH Keys compromised by jawr on Friday July 20, 2012 @09:14AM (#4270556)
I was introduced to OVH when they had a promotion where they gave 100 kimsufi servers away (free for a year). I was really impressed with the prices that they were selling real hardware at (and still do).

However, I have grown a great distaste to them in the last few years, namely because of this behaviour and it's implications; when I buy a dedicated server that I am going to manage myself it would be nice to at least have the option to install a clean distribution and not have to go the extra mile of bootstraping.

Re:OVH's Maintenance SSH Keys compromised by _Lemon_ on Friday July 20, 2012 @09:22AM (#4270596)
That's the only reason you've found so far? That's pretty good.

They have much worse things in place:- their anti-dos measures make it near impossible to put anything of value on their without a LOT of work. For example, once they detect a DoS (just 50 Mbps was enough but it varies) they will take down your server (not just its IP) for 4-12 hours at a time.

With that said, there are some great things about OVH: they drive down the costs and make everything quite efficient (e.g., hardware prices, support costs) but then seem to just forget that they need to reduce the costs for the customer as well (their anti-dos measures being an example of how they increase the cost).

Re:OVH's Maintenance SSH Keys compromised by giulianob on Friday July 20, 2012 @09:43AM (#4270720)
I wonder if that DOS policy will be the same for the new North America data center. I have a beta server with them and am enjoying their service but taking someone's service offline for a small scale DOS attack may be a game changer.
Re:OVH's Maintenance SSH Keys compromised by _Lemon_ on Friday July 20, 2012 @09:50AM (#4270760)
It probably won't change. Their US routers do not appear to be any different to the EU ones (e.g., they both intentionally rate limit ping to them so you'll see a lot of timeouts).
Re:OVH's Maintenance SSH Keys compromised by giulianob on Friday July 20, 2012 @10:07AM (#4270848)
Interesting does this affect monitor apps (e.g. pingdom) ? Also have any recommendations of something competitive but with better quality?
Re:OVH's Maintenance SSH Keys compromised by _Lemon_ on Friday July 20, 2012 @11:18AM (#4271148)
No it does not, it's only when you ping their edge routers do you see packet loss, they still pass all traffic (and thus ping) over them just fine. You can see this in traceroutes or running mtr.

I believe (not 100% sure) they put their anti-dos on these routers which is why I think the US servers will have the same anti-dos measures.

Have you tried asking them? I do not believe they would hide this fact (it would be interesting to know whether they mark it as a selling point or not).

Re:OVH's Maintenance SSH Keys compromised by giulianob on Friday July 20, 2012 @11:52AM (#4271319)
Re:OVH's Maintenance SSH Keys compromised by giulianob on Friday July 20, 2012 @09:02AM (#4270514)
Just don't leave your SSH service open to the internet. Set yourself up a VPN and block SSH to your internal LAN.
Re:OVH's Maintenance SSH Keys compromised by icebraining on Friday July 20, 2012 @09:23AM (#4270606)
How is a VPN more secure than SSH?
Re:OVH's Maintenance SSH Keys compromised by joe_bleau on Friday July 20, 2012 @08:56AM (#4270490)
Re:OVH's Maintenance SSH Keys compromised by iSloth on Friday July 20, 2012 @08:59AM (#4270500)
Fortunately there is a default IP limitation in place, however it's still worrying.
Re:OVH's Maintenance SSH Keys compromised by electrotype on Friday July 20, 2012 @08:55AM (#4270487)
Thanks, I disabled the SSH key until more information is available.
Re:OVH's Maintenance SSH Keys compromised by vini on Friday July 20, 2012 @11:47AM (#4271290)
It's just a debian log bug
Re:OVH's Maintenance SSH Keys compromised by stonnyfrogs on Friday July 20, 2012 @09:26AM (#4270624)
Nothing on my logs. FreeBSD.