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
- Install the client
curl "https://teleport.flamespaces.io/scripts/install.sh" | sudo bash
- Configure the join token
sudo teleport node configure \
--token=<provided-by-Flame> \
--proxy=teleport.flamespaces.io:443 \
-o file
- Start and enable the service
sudo systemctl enable teleport
sudo systemctl start teleport
4. Activate PAM
- Edit
/etc/teleport.yamland add apamentry underssh_service:
ssh_service:
...
pam:
enabled: "yes"
service_name: "sshd"
- Save and exit
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
Feedback sent
We appreciate your effort and will try to fix the article