Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
LibraryManager: Cloning from private git repos fails #925
PlatformIO Version (
Description of problem
I have a separate library stored in a private Git repository (via SSH). When adding this to the platformio.ini configuration and/or updating my project, the git clone process fails with the following error message:
Steps to Reproduce
Add library dependency to the platformio.ini as follows:
Note: I use a non-standard SSH port for accessing my git repos via SSH.
Run the build.
From this last part of the error output, It looks like the full path is truncated after the '@' sign. Expecting to see a format like:
Could you temporary try this format?
Looking at that format, that is actually not how my git server is set up. My server is set up exactly as described here: https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server
Found out it works fine when the user part is removed from the path. So instead of this:
I used this:
Which makes actually sense since I am using SSH public keys so a username isn't required.