Spaces:
Sleeping
Sleeping
| rm pre.sh | |
| rm install.sh | |
| passwd | |
| sed -i 's/^#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config | |
| tailscaled --tun=userspace-networking --socks5-server=localhost:1055 > /dev/null 2>&1 & | |
| tailscale up --ssh --operator=$USER --accept-routes=false --accept-dns=false | |
| sleep 5 | |
| service ssh start | |
| service ssh restart |