SFTP key location for linux docker
Posted: Mon May 19, 2025 7:22 pm
Hello
I am running a Syncovery 10.17.2 in a docker image based on Ubuntu 20.04
I'm trying to setup a SFTP side based on user + public key
I have added an entry in Program Settings -> Keys
And I am referring to that entry into the profile's Security / Private Key for User Authentication
Also the box "No password needed" is checked
The private key is available in the docker image in /root/.ssh/ with the appropriate access rights (400)
running bash in the docker (docker exec -ti syncoverycl bash) I can open the SFTP connection correctly
Still, from Syncovery web UI, when I try to get the list of folders from the SFTP, I get the message
"Unable to use key file "xxxxx" (Unable to open file)"
I also tried to put the file in the config/.Syncovery/.ssh/ folder but still the same problem
Where should I put the private key for Syncovery to find it ?
It would be convenient that the UI allows to upload the key from the UI as there are cases where we run the Syncovery from a FARGATE task with no ability to SSH into it
Thanks
I am running a Syncovery 10.17.2 in a docker image based on Ubuntu 20.04
I'm trying to setup a SFTP side based on user + public key
I have added an entry in Program Settings -> Keys
And I am referring to that entry into the profile's Security / Private Key for User Authentication
Also the box "No password needed" is checked
The private key is available in the docker image in /root/.ssh/ with the appropriate access rights (400)
running bash in the docker (docker exec -ti syncoverycl bash) I can open the SFTP connection correctly
Still, from Syncovery web UI, when I try to get the list of folders from the SFTP, I get the message
"Unable to use key file "xxxxx" (Unable to open file)"
I also tried to put the file in the config/.Syncovery/.ssh/ folder but still the same problem
Where should I put the private key for Syncovery to find it ?
It would be convenient that the UI allows to upload the key from the UI as there are cases where we run the Syncovery from a FARGATE task with no ability to SSH into it
Thanks