F-urkan commited on
Commit
776ba66
·
verified ·
1 Parent(s): 69d8198

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -0
start.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
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
+ echo -e "root\nroot" | sudo passwd kullaniciadi
4
+ tailscale up &
5
+ sleep 5
6
+ service ssh start