Skip to content

Instantly share code, notes, and snippets.

@tomekjarosik
Created June 1, 2020 21:38
Show Gist options
  • Select an option

  • Save tomekjarosik/40e69746db2ad04b3d083db6ea07a80d to your computer and use it in GitHub Desktop.

Select an option

Save tomekjarosik/40e69746db2ad04b3d083db6ea07a80d to your computer and use it in GitHub Desktop.
teleport-node-config.md
teleport:
  nodename: dev-tjarosik-shared
  data_dir: /var/lib/teleport
  pid_file: /var/run/teleport.pid
  auth_token: **************************************
  connection_limits:
    max_connections: 1000
    max_users: 250
  log:
    output: stderr
    severity: INFO
ssh_service:
  enabled: "yes"
  listen_addr: 10.123.45.124:3022
  labels:
    role: dev
    tier: dev
  commands:
  - name: vCPU
    command: [/usr/bin/nproc]
    period: 1m0s
  - name: disk
    command: [/root/teleport/disk_usage.sh]
    period: 0h1m0s
  - name: ram
    command: [/root/teleport/ram_usage.sh]
    period: 0h1m0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment