diff options
| -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 | |||
| 5 | echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config | 5 | echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config |
| 6 | 6 | ||
| 7 | git clone https://git.0nom.ch/keys ~/keys | 7 | git clone https://git.0nom.ch/keys ~/keys |
| 8 | ~/keys/add-ssh-keys.sh | 8 | 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\]]\$ ' | |||
| 10 | EOF2 | 10 | EOF2 |
| 11 | source /etc/bashrc | 11 | source /etc/bashrc |
| 12 | 12 | ||
| 13 | bash ./core/ssh.sh || { echo "Failed to configure SSH"; exit 1; } | 13 | sudo bash ./core/ssh.sh || { echo "Failed to configure SSH"; exit 1; } |
| 14 | bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; } | 14 | sudo bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; } |
| 15 | bash ./core/install-packages.sh || { echo "Failed to install packages"; exit 1; } | 15 | sudo bash ./core/install-packages.sh || { echo "Failed to install packages"; exit 1; } |
| 16 | 16 | ||
| 17 | sudo timedatectl set-timezone Asia/Singapore | 17 | sudo timedatectl set-timezone Asia/Singapore |
| 18 | 18 | ||
