diff options
| author | hc <hc@email.ch> | 2024-12-28 14:21:12 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-12-28 14:21:12 +0800 |
| commit | c280db43a65e3ef46f4cc9febca0dc1e37efcbee (patch) | |
| tree | 26c27010a48a2913f7e24b7c748f528da387b03f | |
| parent | bf1ebe9dd0506f837a2d61276e279e0e1e2cf660 (diff) | |
ud
| -rwxr-xr-x | core/ssh.sh | 2 | ||||
| -rwxr-xr-x | setup.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/ssh.sh b/core/ssh.sh index 3cf2583..3bcc3b8 100755 --- a/core/ssh.sh +++ b/core/ssh.sh @@ -5,4 +5,4 @@ echo "AllowTcpForwarding yes" | sudo tee -a /etc/ssh/sshd_config echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config git clone https://git.0nom.ch/keys ~/keys -~/keys/add-ssh-keys.sh +sudo ~/keys/add-ssh-keys.sh @@ -10,9 +10,9 @@ PS1='[\[\033[01;32m\]\u\[\033[00m\]@\h \[\033[38;5;135m\]\W\[\033[00m\]]\$ ' EOF2 source /etc/bashrc -bash ./core/ssh.sh || { echo "Failed to configure SSH"; exit 1; } -bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; } -bash ./core/install-packages.sh || { echo "Failed to install packages"; exit 1; } +sudo bash ./core/ssh.sh || { echo "Failed to configure SSH"; exit 1; } +sudo bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; } +sudo bash ./core/install-packages.sh || { echo "Failed to install packages"; exit 1; } sudo timedatectl set-timezone Asia/Singapore |
