MStadlmeier / drivesync

Google Drive synchronization for Linux
MIT License
197 stars 26 forks source link

Git clone not allowed #17

Closed Fabian42 closed 6 years ago

Fabian42 commented 6 years ago

I had to setup my system new, installed git (Ruby was already installed) and did git clone git@github.com:MStadlmeier/drivesync.git. The result was:


The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.```
MStadlmeier commented 6 years ago

As this is a public repository, there can't be any issues regarding authentication. I guess there is something wrong with your rsa keys (do you have the correct permissions on your .ssh folder and private key?)

You can definitely clone the repository using https as a workaround, though

git clone https://github.com/MStadlmeier/drivesync.git
Fabian42 commented 6 years ago

All I did was to install Debian, then Chrome and a few other essential programs, then git and then I installed this. I modified no permissions of any folder. If https works, that should probably be in readme.

nightkr commented 5 years ago

Bit of a necro, but SSH access requires you to generate a SSH keypair (ssh-keygen -t ed25519) and upload the public key (~/.ssh/id_ed25519.pub) in your account settings. If you only need read-only access then you should probably clone over HTTPS instead.

This is generic for all GitHub-hosted repos (and most Git hosts in general), and has nothing to do with this repo in particular.