Skip to Main Content

headscale

Use

  • ssh connection
# ~/.ssh/config
Host bailscale-ssh.example.com
  HostName taile-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