You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contributors help shape the future of whatever this is. To start contributing you have to [fork this repository](https://github.com/amogusreal69/ssh/fork) and [open a pull request](https://github.com/amogusreal69/ssh/compare).
40
+
Contributors help shape the future of whatever this is. To start contributing you have to [fork this repository](https://github.com/heyitslumi/ssh/fork) and [open a pull request](https://github.com/heyitslumi/ssh/compare).
41
41
42
-
[](https://github.com/amogusreal69/ssh/graphs/contributors)
42
+
[](https://github.com/heyitslumi/ssh/graphs/contributors)
43
43
44
44
## 🌟 Stargazers
45
45
46
-
[](https://github.com/amogusreal69/ssh/stargazers)
46
+
[](https://github.com/heyitslumi/ssh/stargazers)
47
47
48
48
## 📜 Licensing
49
49
50
-
This project is licensed under the [GNU General Public License v3.0](https://github.com/amogusreal69/ssh/blob/main/LICENSE). If you want to make your own, I will make a documentation soon on this repository.
50
+
This project is licensed under the [GNU General Public License v3.0](https://github.com/heyitslumi/ssh/blob/main/LICENSE). If you want to make your own, I will make a documentation soon on this repository.
Copy file name to clipboardExpand all lines: old.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
3
-
#amogus's SSH key manager
3
+
#Lumi's SSH key manager
4
4
#
5
5
# This script is used as a way to help users as fast as possible by instead of sharing their server's password, they add my SSH key, and I have access to their server.
6
6
# Idea inspired by Virtfusion
@@ -10,7 +10,7 @@
10
10
# We recommend using the new version of the script, accessible via:
Copy file name to clipboardExpand all lines: script.sh
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
3
-
#amogus's SSH key manager
3
+
#Lumi's SSH key manager
4
4
#
5
5
# This script is used as a way to help users as fast as possible by instead of sharing their server's password, they add my SSH key, and I have access to their server.
6
6
# Idea inspired by Virtfusion, GPT-4o helped with this lol
@@ -10,7 +10,7 @@
10
10
# We also have a legacy version of the script, which is no longer maintained, accessible via:
echo -e "\033[92m● Support SSH key installed successfully!\e[0m"
66
66
echo""
67
67
next_steps
@@ -77,19 +77,19 @@ add() {
77
77
}
78
78
79
79
remove_ssh_key() {
80
-
grep -F -e "amogusreal69420@proton.me" -e "amogus's support key, check next_steps.txt in root directory for more"~/.ssh/authorized_keys >/dev/null 2>&1
80
+
grep -F -e "lumi@votion.dev" -e "lumi's support key, check next_steps.txt in root directory for more"~/.ssh/authorized_keys >/dev/null 2>&1
81
81
82
82
if [ $?-ne 0 ];then
83
83
echo -e "\e[1;31m● Support SSH key not found!\e[0m"
84
84
else
85
-
sed -i '/amogusreal69420@proton.me/d'~/.ssh/authorized_keys
86
-
sed -i "/amogus's support key, check next_steps.txt in root directory for more/d"~/.ssh/authorized_keys
85
+
sed -i '/lumi@votion.dev/d'~/.ssh/authorized_keys
86
+
sed -i "/lumi's support key, check next_steps.txt in root directory for more/d"~/.ssh/authorized_keys
87
87
echo -e "\033[92m● Support SSH key removed successfully!\e[0m"
88
88
fi
89
89
}
90
90
91
91
check_ssh_key() {
92
-
grep -F -e "amogusreal69420@proton.me" -e "amogus's support key, check next_steps.txt in root directory for more"~/.ssh/authorized_keys >/dev/null 2>&1
92
+
grep -F -e "lumi@votion.dev" -e "lumi's support key, check next_steps.txt in root directory for more"~/.ssh/authorized_keys >/dev/null 2>&1
93
93
94
94
if [ $?-eq 0 ];then
95
95
echo -e "\033[92m● Support SSH key IS installed.\e[0m"
@@ -111,7 +111,7 @@ next_steps() {
111
111
echo -e " \e[1;31m○ Please, do not share your server's password, as I will not use it. If you are still using passwords, I recommend migrating to SSH Keys. It's safer.\e[0m"
112
112
echo -e " \e[33m○ Remove the SSH key:\e[0m Use \`wget -qO- https://ssh.amogus.works/script.sh | bash -s -- remove\` if you no longer need the key."
113
113
echo -e " \e[33m○ Check key status:\e[0m Use \`wget -qO- https://ssh.amogus.works/script.sh | bash -s -- check\` to confirm if the key is installed."
114
-
echo -e " \e[33m○ Visit the repository:\e[0m Check out the GitHub repo at \e[33mhttps://github.com/amogusreal69/ssh\e[0m for updates."
114
+
echo -e " \e[33m○ Visit the repository:\e[0m Check out the GitHub repo at \e[33mhttps://github.com/heyitslumi/ssh\e[0m for updates."
0 commit comments