create a /etc/teleport.yaml file for a node
This commit is contained in:
parent
2884c3b33f
commit
be09138712
1 changed files with 27 additions and 0 deletions
27
Teleport/etc/teleport-node.yaml
Normal file
27
Teleport/etc/teleport-node.yaml
Normal 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
|
Loading…
Reference in a new issue