Skip to main content

Access backup folder

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! You would definitely need root access in order to see that directory on the machine. When you are connecting as the root user you will need to make sure you choose the sFTP option in your client, as root requires a secure connection. There may also be a restriction on the root access, as that error indicates you may have the root login restricted to key access. If you run the following command on the server's terminal you can see if the password authentication is on (yes) or off (no): grep PasswordAuthentication /etc/ssh/sshd_config
    Once you have that information you'll be able to move forward, either by adjusting the password access to work temporarily or changing to an sFTP connection. If you are familiar with using the command line you could also access /backup from the WHM >> Terminal application with the "cd /backup" command.
    0
  • tutur
    Hi, Thanks for your help. Here what I get : #PasswordAuthentication yes PasswordAuthentication yes # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication, then enable this but set PasswordAuthentication
    What does that mean?
    0
  • cPRex Jurassic Moderator
    That just means you don't have to use an SSH key to access the machine. The next thing to check would be this: grep PermitRootLogin /etc/ssh/sshd_config
    0
  • tutur
    PermitRootLogin no # the setting of "PermitRootLogin without-password".
    I believe I have added a layer of security to avoid root login right? I don't remember how to change that setting
    0
  • cPRex Jurassic Moderator
    Thanks for the details - so that is what is keeping you from logging in normally. You likely have a wheel user setup to access the machine so you do not have to log in directly as the root user. The easiest way to resolve this would be to change that value to "yes" and then restart the SSH service. After doing that, I would expect the access to work as you are expecting.
    0
  • tutur
    Does that work if I change the value by Yes directly on the terminal screen and then press Enter? Thanks a lot for your help
    0
  • cPRex Jurassic Moderator
    You would want to press enter, but you would need to use the commands necessary in your text editor of choice:
    0

Please sign in to leave a comment.