Teleport

Modified on Thu, 21 May at 12:17 PM

Add a new resource

1. Remove old client

sudo systemctl stop teleport
sudo pkill -f teleport
sudo rm -rf /var/lib/teleport
sudo rm -f /etc/teleport.yaml
sudo apt remove teleport

Not required on a clean install


2. Change hostname

sudo hostnamectl set-hostname <identifying-name>


3. Install Teleport

  1. Install the client
curl "https://teleport.flamespaces.io/scripts/install.sh" | sudo bash
  1. Configure the join token
sudo teleport node configure \
--token=<provided-by-Flame> \
--proxy=teleport.flamespaces.io:443 \
-o file
  1. Start and enable the service
sudo systemctl enable teleport
sudo systemctl start teleport


4. Activate PAM

  1. Edit /etc/teleport.yaml and add a pam entry under ssh_service:
ssh_service:
  ...
  pam:
    enabled: "yes"
    service_name: "sshd"
  1. Save and exit
  2. sudo systemctl restart teleport

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article