F-urkan commited on
Commit
88b922f
·
verified ·
1 Parent(s): b085ecb

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +1 -1
start.sh CHANGED
@@ -1,7 +1,7 @@
1
  sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
2
  sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config
3
  grep -E "PermitRootLogin|PasswordAuthentication" /etc/ssh/sshd_config
4
- tailscaled --tun=userspace-networking --socks5-server=localhost:1055 > /dev/null 2>&1 &
5
  echo "root:selo" | chpasswd
6
  tailscale up &
7
  sleep 5
 
1
  sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
2
  sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config
3
  grep -E "PermitRootLogin|PasswordAuthentication" /etc/ssh/sshd_config
4
+ tailscaled --tun=userspace-networking --socks5-server=localhost:7860 > /dev/null 2>&1 &
5
  echo "root:selo" | chpasswd
6
  tailscale up &
7
  sleep 5