I've been running a CentOS6 server with a local colocation company for several months. I had OpenSSL setup to allow only my keys when logging in and I had no issue until recently. I also have webmin and apache running on this system.
Last night, all of the services shut down and now my ssh keys are being rejected. However, communication to the server is still there - so I know that the network wasn't disconnected, etc.
I'm the only user who is allowed to login, and it's via private key. I'm not an expert but I had the server locked down fairly well, but when I try to login i see:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I'm stuck with what to do. I can't access webmin (it's not running) so I can't reboot the server. Being a weekend, and a night/early morning it's impossible to get a hold of someone at this colocation center to reboot it for me.
Do I have any choices other waiting until I can get someone to reboot it, or Monday when I can drive down there and access it locally myself? Could some sort of software crash/error be causing this private key error or should I be concerned that someone gained access to the server and removed my keys?
P.S. The last thing I saw before I closed my last connection yesterday, was when I tried to resume a screen, it said:
screen: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory
I've never seen that before. After that I disconnected and attempted to re-connect and have been getting the permission denied ever since.
Have you tried:
and you can use
to avoid the
-i ~/.ssh/foo.pem
part next time.