Teleport
Use the Teleport integration to securely authenticate and access your SSH servers for automation.
Overview
Configure Teleport in Fylamynt
kind: role version: v3 metadata: name: fylamyntbot spec: # SSH options used for user sessions options: # max_session_ttl defines the TTL (time to live) of SSH certificates # issued to the users with this role. max_session_ttl: 1200h # allow section declares a list of resource/verb combinations that are # allowed for the users of this role. by default nothing is allowed. allow: logins: - root - ubuntu - ec2-user node_labels: '*': '*' --- kind: user version: v2 metadata: name: fylamyntbot spec: roles: ['fylamyntbot']$ tsh scp --login=root fylamyntbot.yaml [email protected]:/home/youruser/resources fylamyntbot.yaml (584)$ tctl create -f fylamyntbot.yaml role 'fylamyntbot' has been created user "fylamyntbot" has been created$ tctl --auth-server=ec2-52-26-37-93.us-west-2.compute.amazonaws.com:3025 auth sign --user=fylamyntbot --format=file --out=fylamyntbot.pem --overwrite --ttl=1000h The credentials have been written to fylamyntbot.pem$ tsh scp --login=youruser [email protected]:/home/youruser/resources/fylamyntbot.pem . fylamyntbot.pem (7142)
Last updated
Was this helpful?