跳到主要内容

headscale

相关部署配置

使用

  • ssh连接
# ~/.ssh/config
Host tailscale-ssh.example.com
  HostName tailscale-ssh.example.com
  User root
  IdentityFile ~/.ssh/id_ed25519
  ForwardAgent yes
  # PasswordAuthentication password

# 可以通过用户名加headscale中配置的base_domain去访问其他节点的服务
# `hostname.base_domain` (e.g., _myhost.example.com_).
ssh tailscale-ssh.example.com