F-urkan commited on
Commit
ba796c6
·
verified ·
1 Parent(s): d6ccbb6

Update start.sh

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