Access root of the server without SSH?

Fictive Logics

Registered
Dec 13, 2017
3
0
1
Australia
cPanel Access Level
Root Administrator
My developers have messed the permission with /var folder while trying to fix magento 2 permission. Now cannot login to SSH via putty neither can i restart SSHD. its coming up with below error

Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable.
[FAILED]

As this is a AWS EC2 server with cPanel/WHM there is no console to access the server to fix the permission issue on /var folder. I am trying to FTP into the server using FTP as SFTP will not work as well but its not letting me login saying authentication failed. I know i am using the correct credentials as it can login to WHM with same details. Also FTP configuration to allow root login on FTP is on.

How can I access this server and why is FTP root login not working? Any help or guidance is greatly appreciated.
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator