I installed a new debian 6 system a few days ago - today I wanted to create a CSR request for a SSL certificate and wanted to delete the CSR file afterwards.
In the root of my server I was typing
rm * /etc/apache2/sslstuff then I noticed that I cannot use ls or top anymore, did I delete everything?
I thought I needed to do rm -R to delete folders as well.
Now I can't even login using SSL because putty will always close after I type in the password of my login user.
What can I do here? Do I have to re-install the system or is there a more time-saving way? (root login is not allowed, I login with a different user and then use su)
Okay, I used another user to login because I set permitrootlogin to NO for security reasons. When I open Putty to login via SSH then I put in the user name and after I enter the PW putty will close.. So what can I do to at least connect to that server?
FTP still works, website is still up and running, so I guess I only deleted some symbolic links and stuff. What to do now?
lsandtopdon't live under /etc/apache2/sslstuffrmis aliased torm -ron his system. Stupid default, I know, but some people actually use it.