Spaces:
Sleeping
Sleeping
Update start.sh
Browse files
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:
|
| 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
|