NET-BYU / sss

11 stars 1 forks source link

Page "Install SSS on Mac or Linux" - Bad git clone command. #31

Closed doglman closed 1 year ago

doglman commented 1 year ago

I ran the clone from repository command in the "Installation" section: git clone git@github.com:NET-BYU/sss.git and it didn't work. Error said I need to make sure I have the correct access rights and the repository exists.

Used git clone https://github.com/NET-BYU/sss.git instead.

Suggestion: Modify the command to be the one I used, or include enough details so I can avoid the error.

christopolise commented 1 year ago

This is using the SSH protocol instead of the HTTP protocol. This is a more secure and convenient method than HTTP which now requires a separate access token to be used every time. Could you please provide a copy of the error you see in the terminal when trying to run the command above?

doglman commented 1 year ago
$ git clone git@github.com:NET-BYU/sss.git
Cloning into 'sss'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
christopolise commented 1 year ago

It turns out that SSH access implies that you have edit access and only SSH keypairs will be accepted by people in the organization. In view of that issue, I think it is a good catch to use HTTPS for public access.

christopolise commented 1 year ago

Fixed!