Skip to content

Commit

Permalink
open source
Browse files Browse the repository at this point in the history
  • Loading branch information
daisycamber committed Nov 17, 2024
1 parent 0cad560 commit 320ddfb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backup_date.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sun Nov 17 11:02:24 AM UTC 2024
Sun Nov 17 11:08:24 AM UTC 2024
2 changes: 1 addition & 1 deletion backup_init_date.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sun Nov 17 11:02:14 AM UTC 2024
Sun Nov 17 11:08:15 AM UTC 2024
2 changes: 2 additions & 0 deletions log/commands.log
Original file line number Diff line number Diff line change
Expand Up @@ -704,3 +704,5 @@
2024-11-17T11:00:36.137550+00:00 lotteh team: team [5055]: sudo backup
2024-11-17T11:01:45.018689+00:00 lotteh team: team [6645]: nano .github/workflows/django.yml
2024-11-17T11:02:12.573882+00:00 lotteh team: team [6645]: nano scripts/begin
2024-11-17T11:02:27.270591+00:00 lotteh team: team [6645]: sudo backup
2024-11-17T11:08:13.068236+00:00 lotteh team: team [6645]: nano scripts/begin
5 changes: 0 additions & 5 deletions scripts/begin
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ sudo apt-add-repository universe
sudo apt install -y nano git expect
wget https://daisycamber.github.io/unix-config/sshd_config
sudo cp sshd_config /etc/ssh/sshd_config
#wget https://daisycamber.github.io/unix-config/lockout
#sudo cp lockout /etc/lockout
#sudo chmod a+x /etc/lockout
#echo "sh /etc/lockout" | sudo tee -a /etc/profile
#echo "session required pam_exec.so seteuid /etc/lockout" | sudo tee -a /etc/pam.d/sshd
sudo service ssh restart
sudo service sshd restart
echo "/root/.ssh/id_rsa" | sudo su root -c "ssh-keygen -t rsa -N ''"
Expand Down

0 comments on commit 320ddfb

Please sign in to comment.