How to rename/remove a node? #5988
-
I installed teleport following a tutorial I found online I've tried to edit the /etc/teleport.yaml and change the node-name inside of there, but didn't figure out how to restart teleport once its running - not even how to shut it down, I'm on teleport 5, I think its 5.1.2, just "teleport:5" in the docker-compose |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
To remove nodes, you can just shut down the Teleport process which is running on them. This might be To rename existing nodes, you can edit your teleport:
nodename: name-you-want-goes-here If not set, Once you've changed the |
Beta Was this translation helpful? Give feedback.
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 justkill $(pidof teleport)
to shut down the running process. The nodes will be removed from the output oftsh 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 thenodename
:If not set,
nodename
defaults to thehostname
of the machine.Once you've changed the
nodename
, you should restart Teleport to see the updates - this might besudo systemctl restart teleport
, or in Docker you can theoretically …