Hi I am very new in server administration. I bought a VPS and I am running WHM/Cpanel on it. I managed to set up an account and everything works fine, except that I don't know how to connect to the root of the server. Not the top directory of that account but top directory of server. That account is in /home/username, but my WHM is making backups to /bcfolder , is there a way to connect to this folder to view it as I view /home/username via ftp client? Thank you for all your help!
I think I have ssh access but I don't know how to use it. Can you help me out? Maybe a link to good source of information? Thanks a lot!
step by step 1. download putty 2. login with "root" 3. create a folder in home/username 4. link the /bcfolder to new folder
Download Putty software. Open it and enter your IP address in hostname, user as root and the WHM password. You will be logged in as root user. The backup folder by default is /backup/cpbackup, in your case it could be different as stated in WHM -> Backups -> Configure Backup. The commands to go to the directory and list the files are: cd /backup/cpbackup/daily ls -la
There are numerous ways to get your desired results. The easiest way for you, as you have no ssh experience, simply use filezilla over SFTP, which you can set in the fz client, simply login as root, mv to the desired folder, then down load the desired file. OR You can simply change the backup folder that whm is using, IF the backup script is actually setup in whm & its NOT a custom backup script.
Thank you all. I just can't manage to connect with root via ssh. Access denied kmap helped me via TeamViewer but we couldn't find a problem. Is there any special way why I couldn't loging? Thank you all for your help!
Which WHM addons do you have, APF? (bottom left of the main WHM panel.) If so whitelist your IP in APF
I managed to connect! I managed to connect with one of my accounts. And I am able to navigate too all directories inside server. I even managed to get a list of all files in my backups folder with ls command. But I still can't manage to see this in ftp view. I tried with filezilla over sftp as you Anthony suggested (thank you for your help!) but connection does not establish. I also tried another thing that kmap suggested. Creating a link and then clicking on it in FTP. I tried by going to the root and then typing: ln -s /bcfolder /home/username/linkbackup Code (markup): Where linkbackup was a folder I created before. Then I tried going to /home/username/ and typing: ln -s linkbackup ../../bcfolder Code (markup): None of it worked. In both cases when opening the folder in ftp I just got linkbackup folder opened instead of bcfolder in the root. Obviously I have no idea what I'm doing. Please help Thank you in advance!
I managed to solve that problem! Of course with many great pointers from you and uncle google. For anyone else who might have a problem not being able to go into "super user" mode Go to WHM >> Security Center >> Manage Wheel Group Users Now add that user to the Wheel. Then you will be able to type su. However I still have a problem with link. That doesn't work. It does create some sort of link in the user folder (I see this arrow next to icon in FTP). But all i get is directory "new" opened inside /home/username/new, when I click on it via ftp. Thank you for your time everyone. I really appriciate it.