I do not have physical contact with my server, I have to call a friend and guide him(knows no Linux himself) whenever I need something done.
Hello! I've recently started using Linux(I'm a newbie) and decided to set up a server, and ssh worked fine for a while, until I started trying to get vsftpd to work, so here's my problem:
I tried getting vsftpd to work, I was able to log into my ftp client, but not transfer files (533 error, cannot write file), so I googled a little and they said it was because of bad user permissions, so they said that it would work if I wrote "sudo chown -R jani /var/vsftpd".
I tried that, and then ftp://jani64.ath.cx/
stopped working at all and I couldn't log into my FTP client. I was still logged into SSH though, but then later logged out because I rebooted my machine. And then when I tried logging in again, I get "Network error: Connection refused" in PuTTy.
Then I ran "nmap jani64.ath.cx -p22;" and it gave me this:
PORT STATE SERVICE VERSION
22/tcp open tcpwrapped
Then I called my friend to see if he could just stop the vsftpd service and restart the sshd service, to see if it works then. He was able to stop the vsftpd service but he wasn't able to start sshd, and it tells him that group must be owned by root or something along those lines.
So basically, my permissions are messed up, what do I do to make SSH work again?
Thanks in advance!