Skip to content

RPC failed; curl 56 GnuTLS recv error (-9) when running git clone #134430

Discussion options

You must be logged in to vote

This means the SSH key isn't being accepted by GitHub. The below steps should definitely solve your problem:

1. Check for Existing SSH Keys:

ls -al ~/.ssh

There should be files named id_rsa (private key) and id_rsa.pub (public key) or similarly named key pairs.
If there is no SSH key available you will receive a message like: ls: cannot access '/c/Users/dell/.ssh': No such file or directory

2. Generate a New SSH Key (if there is no SSH available else skip No. 2)

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Follow the prompts properly to save the key, and you can press Enter to accept the default file location. When prompted for a passphrase, you can choose to set one or leave it …

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@ja-Bertolin
Comment options

@jvc-byte
Comment options

@ja-Bertolin
Comment options

@jvc-byte
Comment options

Answer selected by ja-Bertolin
@ja-Bertolin
Comment options

@jvc-byte
Comment options

Comment options

You must be logged in to vote
1 reply
@HarimbolaSantatra
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants