fix: ssh keys
parent
84c3336b9a
commit
b0216050d2
|
@ -22,7 +22,7 @@ mkdir -p ~/.config/
|
||||||
mkdir -p ~/bin/
|
mkdir -p ~/bin/
|
||||||
|
|
||||||
# create an ssh key, for use with git/github
|
# create an ssh key, for use with git/github
|
||||||
ssh-keygen -t ed25519 -f "/home/`whoami`/.ssh/id_ed25519_git" -N ''
|
ssh-keygen -t ed25519 -N ''
|
||||||
setup_config()
|
setup_config()
|
||||||
{
|
{
|
||||||
cd ~
|
cd ~
|
||||||
|
@ -64,7 +64,7 @@ fi
|
||||||
cd ~/git/;
|
cd ~/git/;
|
||||||
pwd
|
pwd
|
||||||
gh auth login;
|
gh auth login;
|
||||||
xclip -sel clip ~/.ssh/id_ed25519_git.pub
|
xclip -sel clip ~/.ssh/id_ed25519.pub
|
||||||
firefox https://github.com/settings/ssh/new
|
firefox https://github.com/settings/ssh/new
|
||||||
|
|
||||||
# after logged into gh
|
# after logged into gh
|
||||||
|
|
Loading…
Reference in New Issue