create a /etc/teleport.yaml file for a node

This commit is contained in:
Florian Hoss 2021-12-10 10:36:03 +01:00 committed by GitHub
parent 2884c3b33f
commit be09138712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
teleport:
nodename: example
data_dir: /var/lib/teleport
auth_token: example
auth_servers:
- 10.0.0.4:3025
log:
output: /var/lib/teleport/teleport.log
severity: ERROR
ca_pin: example
auth_service:
enabled: no
ssh_service:
enabled: yes
labels:
VM: example
IP: 78.47.145.201
permit_user_env: true
commands:
- name: OS
command: [/bin/uname, -o]
period: 1h0m0s
- name: UP
command: ["/bin/sh", "-c", "uptime -p | cut -c4-"]
period: 1h0m0s
proxy_service:
enabled: no