-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71172c7
commit 180d0c1
Showing
8 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
hash.txt | ||
fail_install | ||
success_install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-----BEGIN OPENSSH PRIVATE KEY----- | ||
b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABDyom4uII | ||
3QGGoj8QAKtpDRAAAAEAAAAAEAAAAzAAAAC3NzaC1lZDI1NTE5AAAAIPeqc5Wn6hBOTHo7 | ||
rq4kIi5CIeI4Ho8cttqGLxIwCgCAAAAAkAxYEksinU4rMI5xV2+UgGRnx0xGFYkc1IPNxu | ||
SWzublobPNpSUHuza3T7K8e5PLOQyLFTPNZXMc/3FtDvrA94fz+kf9Zf45BdNzMyKqIbBm | ||
Hn5p0BpCqY+DQ3JSBqs78XUTG8XFkWHDEMJurrbgtdLnA8HrY7JqyTMtIqMTYFMHWUoCrm | ||
mCqmyyFLXVkizF6Q== | ||
-----END OPENSSH PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPeqc5Wn6hBOTHo7rq4kIi5CIeI4Ho8cttqGLxIwCgCA |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
# ================================================== | ||
# script to connect github using ssh | ||
# only works in new ssh keys | ||
# ================================================== | ||
|
||
echo "Enter your username:" | ||
# read username | ||
|
||
echo "Enter your email:" | ||
# read email | ||
|
||
echo "Hello $username, your e-mail is $email" | ||
|
||
|
||
# generate new SSH key | ||
ssh-keygen -t ed25519 -C "$email" | ||
eval "$(ssh-agent -s)" | ||
ssh-add ~/.ssh/id_ed25519 | ||
|
||
# add a new SSH key to github | ||
### sudo apt-get update | ||
cmd="xclip -h" | ||
if [[ $cmd == 127 ]]; then | ||
sudo apt-get install xclip | ||
else | ||
### xclip -h | ||
fi | ||
xclip -selection clipboard < ~/.ssh/id_ed25519.pub | ||
|
||
|
||
echo " | ||
====== ssh id was copied to your clipboard ====== | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters