Spaces:
Sleeping
Sleeping
| sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config | |
| sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config | |
| grep -E "PermitRootLogin|PasswordAuthentication" /etc/ssh/sshd_config | |
| tailscaled --tun=userspace-networking --socks5-server=localhost:7860 > /dev/null 2>&1 & | |
| echo "root:selo" | chpasswd | |
| tailscale up & | |
| sleep 5 | |
| service ssh start | |
| whoami |