I am unable to gain access to my ftp / sftp which is sitting on a whm / cpanel server.
The messages I get are:
Unable to sync SFTP_****.cloudf.
Your credentials are not valid to access this service.
Unable to sync FTP *****.cloudf.
You do not have sufficient permissions.
The response is pretty immediate.
Why I think this is an issue:
I can log in with the same credentials with filezilla immediately (I do get the “this certificate is unknown” though)
and I can login to the sftp with an ssh client immediately with the same credentials, and private key.
Hey I got the ftp to work. For anyone trying to achieve the same thing with a WHM or Cpanel server:
The answer is that the ftp cannot start higher in the directory of the account than public_html directory position.
@Tony You were right. it the key was encrypted for the sftp - and I added the password but still, it isn’t not working.
What I tried telling you before is - in another ssh client that account I am using is working.
now the error is:
Unable to sync SFTP.cloudf.
You either do not have permission or the filename contains illegal characters.
I took a look and the SFTP server is returning a generic “Permission denied” exception when trying to list the folder. Did you try setting the start path to a specific folder, like “/home/username/folder”? The SFTP connection defaults to / so that may very well be the issue.
you cannot move the specific user directory (thats how the cpanel architecture works - /home/username/everythingEsle )- but on other ssh clients everything is working fine. I guess there is an issue with this feature and cpanel servers. maybe look into this? It would be really nice to resolve since that user and key do work with putty. in the mean time I will use ftp since I got it to work, but I would prefer to use the ssh (sftp)
Unfortunately I don’t have access to a cpanel SFTP configuration, so I am not able to test this.
What I meant for the configuration change was to change the path in the odrive link configuration. It provides a “Start Path” parameter. If you could change that to the path where the folder is on the server, that could work. After the change you will want to restart the odrive desktop client.
The SFTP path starts at root (/) by default, unless the server is setup with chroot, which I don’t think cpanel is. This means you would have to specify the full path to the public_html folder (something like /home/[usernamehere]/public_html).
If there is a test account I can try, I can investigate more if this doesn’t work.