Uma chave SSH Ed25519 foi gerada em: ~/.ssh/id_ed25519_github
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519_githubOpção A: Deploy Key (apenas este repositório)
- Acesse: https://github.com/danvoulez/Trajectory-Engineering-Base/settings/keys
- Clique em "Add deploy key"
- Cole o conteúdo de
~/.ssh/id_ed25519_github.pub - Marque "Allow write access" se quiser push via SSH
Opção B: SSH Key da Conta (todos os repositórios)
- Acesse: https://github.com/settings/keys
- Clique em "New SSH key"
- Cole o conteúdo de
~/.ssh/id_ed25519_github.pub
git remote set-url origin git@github.com:danvoulez/Trajectory-Engineering-Base.gitssh -T git@github.com- Nunca compartilhe a chave privada (
~/.ssh/id_ed25519_github) - A chave privada está no
.gitignoree não será commitada - Use senha forte se adicionar passphrase:
ssh-keygen -p -f ~/.ssh/id_ed25519_github