Spaces:
Sleeping
Sleeping
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -1,9 +1,7 @@
|
|
| 1 |
-
sed -i 's
|
| 2 |
-
|
| 3 |
-
|
| 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 |
-
|
|
|
|
| 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
|