diff --git a/install/teleport-install.sh b/install/teleport-install.sh index bd1a761c7..15c691985 100644 --- a/install/teleport-install.sh +++ b/install/teleport-install.sh @@ -24,7 +24,8 @@ msg_info "Configuring Teleport" $STD apt install -y teleport $STD teleport configure -o /etc/teleport.yaml systemctl enable -q --now teleport -$STD tctl users add teleport-admin --roles=editor,access --logins=root >~/teleportadmin.creds +sleep 5 +$STD /usr/local/bin/tctl users add teleport-admin --roles=editor,access --logins=root >~/teleportadmin.creds msg_ok "Configured Teleport" motd_ssh