使用命令行在macos上登录Tailscale
文章目录
步骤
- 打开https://login.tailscale.com/admin/settings/keys,添加一个新的
Auth keys,并复制生成的密钥。 - 在macOS的终端中
/Applications/Tailscale.app/Contents/MacOS目录执行以下命令,替换<your-auth-key>为你复制的密钥:
sudo tailscale up --authkey <your-auth-key> --accept-dns=false
如果不加--accept-dns=false参数,可能会碰到如下提示:

吐槽
不知道为啥重启了系统以后Tailscale会提示
You are logged out. The last login error was: fetch control key Get "https://controlplane.tailscale.com/key?v=133": context canceled
相似文章
文章作者 pengxiaochao
上次更新 2026-04-14
许可协议 不允许任何形式转载。