git config --global user.name "Your Name"
list all ssh keys: ls ~/.ssh
create key: ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
passphrase eingeben
zu github unter profil ssh keys hinzufügen durch cat ~/.ssh/id_rsa.pub, kopieren und einfuegen
start ssh agent: eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
z.b. zum .profile file im homedir hinzugeben
No comments:
Post a Comment