创建于2024-02-15更新于 2025-03-22
调整成 Kubernetes 标准的
tail 在 docker 中的安装
创建容器
安装 Tailscale
curl -fsSL https://tailscale.com/install.sh | sh
在用户空间网络模式下启动 Tailscale 守护程序
tailscaled --tun=userspace-networking --socks5-server=localhost:1055 &
启动
tailscale up --login-server=https://hs.widiazine.cn --auth-key=7b0053d89fadb2d93e65457e440aba277d2f5f826a7fcd10接受子网
tailscale up --accept-routes --login-server=https://hs.widiazine.cn --auth-key=c72e4147a1fd9767059a7b0124732270ab998d2e44193014本地授权
cat ~/.ssh/id_ed25519.pub
复制到服务器
echo ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDSZn03VFjd3fvNkNcSFC2w+tC5lhLWU75wzn1hHcaa8 hehe-mini-pc >> authorized_keys登录
页面信息›
已优化否