What Folder is my Project Path? - It's Needed for My SFTP Key Location!

I'm trying to set a target to a LAMP stack on a DigitalOcean Droplet using SFTP.

When I try to specify the SSH key file, I get the error message

Please select file inside your project path!

Can someone please tell me what folder is my "project path"?

I believe the folder in which your Project is located Antony.

Project (root)

  • assets
  • dmxAppConnect
  • ETC…

From what I understand, what its trying to say is that SSH Key file needs to be in the project folder iself.
It cannot be located anywhere else like desktop or downloads or some other folder outside the project root, even if it in the server.

I assume its the public key Antony? You can leave it where it is and don’t have to hide it away or move it. Only the private key needs to be kept safe. If this is based on a *nix type structure then the root folder for the key will probably be in the user/home directory (the default directory for the logged in user under *nix). I’m not sure how Docker operates so am assuming you pick a user as the container owner? Then this users credentials are used… Forget Windows directory structures (if you haven’t already, they don’t apply here, if my assumption is correct).

EDIT - Umm think I replied to the wrong Antony thread (the other USB key thread)… Damn a couple of hours in to 2021 and have already lost the plot!

Because ssh keys are very personal and also usually stored in .ssh folder under the user folder, we choose to have them there as well.

Usually you are using same ssh keys for multiple projects, so having them globally makes much more sense.

We also don’t want to store them within your Wappler project as you don’t want them accidentally uploaded on your web site :slight_smile:

Thanks for clarifying that @George!

I’m actually keeping all secure information off my laptop on a keypad password protected memory stick, so this violates my security policy. An ssh key feels like the most security sensitive file of a whole project so this is important to me.

Would you consider allowing the Wappler user to select their own folder for the ssh key location?

I am trying to get my SFTP working and been around the garden path deciphering “Please select file inside your project folder” for the private key file, which to me clearly means please place you key file inside the project folder, whereas that is not what should be done.

I whole heartedly agree with the logic of having it outside the project folder, but please update this warning message to reflect its actual intention, as this is very confusing.

Bump to this. I spent ages trying to figure out where to actually put the key until I found this thread, the message doesn’t make any sense.

I also +1 being able to set your own location, outside the forced location.

1 Like