-
Hello, I've a simple test setup with one VM running the proxy and the auth services and a VM as a teleport cluster node. On this node I have installed a db service from scratch. When I want to install the ssh service on the same node (resource type named (Server) Ubuntu 14.04+), at a certain step I am requested to download and execute a script that tries to install teleport - and if it is already installed, it requests to completely remove it, disrupting the service(s) previously installed. This problem also occurs if I first install ssh and then the db service. I do not want to reinstall teleport at every service installation as I want to have multiple services (eg ssh, db, windows desktop,...) installed on the same VM. How do I install the services on a node without reinstalling teleport every time? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
You'll want to manually edit the ssh_service:
enabled: yes
# replace with labels you would like set, if needed
labels:
env: dev You'll also need to generate a new token valid for the teleport:
join_params:
method: token
token_name: <token-value-here> After this, restart the Teleport service ( |
Beta Was this translation helpful? Give feedback.
-
Now that on a cluster node I got both the DB and SSH services enabled with the related resources visible from the web UI, I tried the opposite of the previous procedure, i.e. with just the database resource available, adding again the SSH resource because also the web UI wizard for SSH (Enroll New Resource -> (Server) Ubuntu 14.04+) requires to launch a script that wants to (re)install teleport on the node. First of all I tried to delete the SSH resource with the command Let's see the attempted procedure:
Without restarting teleport - weird - teleport takes the new configuration and: a) the SSH resource appears on the web UI and is visible when executing b) If I restart the wizard [Enroll New Resource -> (Server) Ubuntu 14.04+], the link with the script that wants to (re)install teleport is still So in the end the previous resource reappears and I cannot execute again the wizard (without the need to launch the script that (re)install teleport), e.g. to set up a different user account when connecting to the SSH server. How to fix this? Is there another workaround? Or a sequence of CLI commands that can bypass the wizard? |
Beta Was this translation helpful? Give feedback.
Thanks!
So the whole procedure (which I tested) to enable, e.g., the db service would be:
First steps of the wizard Enroll New Resource (Guided - (Self-Hosted) MySQL/MariaDB) until "Manually Deploy a Database Service": click on generate command
Apply the workaround described above and copy the token to the clipboard