-
We are currently evaluating Teleport at our company. We have a couple of stumbling blocks we're looking to overcome that i'm sure others must have come across. Firstly, we have several thousand resources we would need to regsiter with a cluster. Doing this manually one-by-one would not be feasible. They are Debian-based hosts configured using Ansible. Are Join Tokens the way forward for this? Secondly - Clock synchronization: the certificates require time synchronization and on these hosts, the clock can drift. This is normally resolved using NTP, but if there is a connectivity issue, this could fail. If the batteries fail we could end up back in the 70s. Any failsafe way of accessing remote hosts in this event? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In this unique situation, you may be better off using a regular SSH key-based strategy with |
Beta Was this translation helpful? Give feedback.
It sounds like you would be best off creating an Ansible playbook to install Teleport, which takes a join token as input. You can use a regular alphanumeric join token valid for 1 hour (from
tctl tokens add --type=node --ttl=1h
) as many times as you like within that hour, so this would work to install Teleport on several thousand hosts at once.Teleport does require the clock to be in sync for access to hosts to work, as it checks the issue/expiry times of the certificate issued to the user and will refuse a connection if the certificate appears to have been issued too far in the past/future. All the break glass strategies we have also use Teleport-issued certificates for security, so…