0

Please help me solve this problem

  1. I created my ssh key using the following ssh-keygen. -t rsa -b 4090 -C [myemail@emailservice.com]

  2. I added my ssh key to my ssh-agent using:

touch ~/.ssh/config

#this was typed in the ~/.ssh/config file

Host *.github.com
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_rsa

Then I typed the folloring in terminal

$ ssh-add~/.ssh/id_rsa
  1. I then copied the ssh key using cat ~/.ssh/id_rsa.pub

I copied the the output and then added it to my github

  1. To check if it was working, I used ssh-T git@github.com
  2. I received the following error message: Bad configuration option: host*github.com

Does any one know what this error message means and what I should do?

I was expecting the following message:

Are you sure you want to continue connecting (Yes/no[fingerprint])?

0 Answers0