buguibu / ios-notes-issues-lessons

Notes, issues and lessons about my iOS development experience
2 stars 0 forks source link

SSH config errors #8

Open buguibu opened 5 years ago

buguibu commented 5 years ago

Once stablished SSH following the proper stpes if you have problems debug the conenction with this command ssh -vT git@github.com In my case I have errors on the ssh/config file by host, this works:


Host github.com
  HostName github.com
  User buguibu
  PreferredAuthentications publickey
  IdentityFile .....
  UseKeychain yes
  AddKeysToAgent yes
buguibu commented 5 years ago

The order of contents in this file is importante, so better have specific Host definitions at top and use the wildcard definition at bottom.