Skip to content

Instantly share code, notes, and snippets.

@NguyenTrungTin
Created May 14, 2018 09:58
Show Gist options
  • Save NguyenTrungTin/7a253dd56c38a08f36b252111e7d6fbb to your computer and use it in GitHub Desktop.
Save NguyenTrungTin/7a253dd56c38a08f36b252111e7d6fbb to your computer and use it in GitHub Desktop.
Config for AWS server when get the error: Permission denied (Public key)

Config for AWS server when get the error: Permission denied (Public key)

Host gitlab.com
  HostName gitlab.com
  User git
  IdentityFile ~/.ssh/id_rsa
  AddKeysToAgent yes
  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment