Spaces:
Sleeping
Sleeping
File size: 314 Bytes
2f7a488 bb0864d ba796c6 bb0864d 776ba66 b260010 ba796c6 |
1 2 3 4 5 6 7 8 9 |
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 |