Skip to content

How to rename/remove a node? #5988

Answered by webvictim
AleksaDjordjic asked this question in Q&A
Discussion options

You must be logged in to vote

To remove nodes, you can just shut down the Teleport process which is running on them. This might be sudo systemctl stop teleport, or even just kill $(pidof teleport) to shut down the running process. The nodes will be removed from the output of tsh ls and the Teleport web UI after they have not checked in for around 10-15 minutes.

To rename existing nodes, you can edit your /etc/teleport.yaml file and set the nodename:

teleport:
  nodename: name-you-want-goes-here

If not set, nodename defaults to the hostname of the machine.

Once you've changed the nodename, you should restart Teleport to see the updates - this might be sudo systemctl restart teleport, or in Docker you can theoretically …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AleksaDjordjic
Comment options

@webvictim
Comment options

@AleksaDjordjic
Comment options

Answer selected by webvictim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants