Files
Linux/资源安装/Teleport部署.md
offends cee91802b3
Some checks failed
continuous-integration/drone Build is failing
synchronization
2025-08-25 15:57:40 +08:00

708 B

本文作者:丁辉

Teleport部署

官方脚本

本地部署官方文档

部署

  1. 安装

    curl https://goteleport.com/static/install.sh | bash -s 14.0.0
    
  2. 生成 https 配置文件

    sudo teleport configure -o file \
        --cluster-name=teleport.*.cn \
        --public-addr=teleport.*.cn:443 \
        --cert-file=/root/cert/nginx.pem \
        --key-file=/root/cert/nginx.key
    
  3. 启动

    systemctl enable teleport
    systemctl start teleport
    
  4. 注册用户

    sudo tctl users add admin --roles=editor,access --logins=root