Once I try to clone my git repository through SSH I get the message 'tilde_expand_filename: No such user .' and 'fatal: Could not read from remote repository'. The error message is not clear though.
If you have a problem cloning a repository, or using it once it has been created, check the following: Ensure that the user has gone through initial GitCentric login and has the correct username, email, and ssh. This should return a usage message that refers to the config-branch, config-repo, and ls-repo commands.
If you're unable to clone a repository, check that: You can connect using HTTPS. For more information, see "HTTPS cloning errors." You have permission to access the repository you want to clone.
Clone a repository with VS Code Follow these instructions to clone your repository. If you don't have Visual Studio Code, download the application first. From the repository, select the Clone button. In the Clone this repository dialog, select the Clone in VS Code button.
I checked the configuration file located in the ssh folder ~/.ssh/
and noticed that for some reason the path to the IdentifyFile was incorrect ~./.ssh/id_rsa_mpk
(with an additional dot after the tilde).
I just corrected the path by ~/.ssh/id_rsa_macpro
, and the git clone command worked properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With