Fred808 commited on
Commit
10efb44
·
verified ·
1 Parent(s): 6f025a0

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +2 -2
entrypoint.sh CHANGED
@@ -16,7 +16,7 @@ fi
16
  echo "Detected public IP: $PUBLIC_IP"
17
 
18
  # Configure SSH server
19
- sudo cp /app/ssh-config/sshd_config /etc/ssh/sshd_config
20
  chmod 600 /etc/ssh/sshd_config
21
 
22
  # Generate SSH host keys if they don't exist
@@ -30,7 +30,7 @@ fi
30
  echo "SSH server started."
31
 
32
  # Configure Dante SOCKS5 server
33
- sudo cp /app/socks5-config/danted.conf /etc/danted.conf
34
  chmod 644 /etc/danted.conf
35
 
36
  # Start Dante SOCKS5 server
 
16
  echo "Detected public IP: $PUBLIC_IP"
17
 
18
  # Configure SSH server
19
+ sudo /app/ssh-config/sshd_config /etc/ssh/sshd_config
20
  chmod 600 /etc/ssh/sshd_config
21
 
22
  # Generate SSH host keys if they don't exist
 
30
  echo "SSH server started."
31
 
32
  # Configure Dante SOCKS5 server
33
+ sudo /app/socks5-config/danted.conf /etc/danted.conf
34
  chmod 644 /etc/danted.conf
35
 
36
  # Start Dante SOCKS5 server