S
srzx2j
Guest
I've been managing my VPS for a few months now and learning linux.
I needed to make a change to a website directory but ended up reseting permissions accidently on my entire containter to 777.
I cannot SSH in because the connection is refused. When I go look in the System Services, the service is not running. When I try to start the service I receive the following error:
Failed to start the "sshd" service.
Cannot start/stop/restart service: Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable.
Can someone point me in the right direction so that I can reset permissions to default or at the very least regain access to my SSH?
Thanks!
I needed to make a change to a website directory but ended up reseting permissions accidently on my entire containter to 777.
I cannot SSH in because the connection is refused. When I go look in the System Services, the service is not running. When I try to start the service I receive the following error:
Failed to start the "sshd" service.
Cannot start/stop/restart service: Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable.
Can someone point me in the right direction so that I can reset permissions to default or at the very least regain access to my SSH?
Thanks!