Skip to content

Cloning repository via ssh avatar and username not showing #45048

Closed Answered by jge162
kleninmaxim asked this question in General
Discussion options

You must be logged in to vote

@kleninmaxim remember when you clone a repository using SSH, you are not providing your GitHub credentials with the push. In order to show your avatar and username when pushing via SSH, you will need to configure your SSH key with your GitHub account.

set it up like this...

a. Generate an SSH key on your local machine if you don't have one already.
b. Go to your GitHub settings and select "SSH and GPG keys"
c. Click "New SSH key" and give it a title (e.g. "My local machine")
d. Paste in the contents of your public SSH key and save.
e. On your local machine, add the private key to your SSH agent:

ssh-add ~/.ssh/id_rsa

Now, when you clone the repository via ssh and push, your avatar and u…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kleninmaxim
Comment options

@jge162
Comment options

@kleninmaxim
Comment options

@jge162
Comment options

@Marcosaurios
Comment options

Answer selected by kleninmaxim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants