Teleport is a tool built for securely accessing servers, Kubernetes clusters, and cloud resources from desktops, laptops, or mobile devices. In this tutorial, we will guide you through the installation process of Teleport on Fedora Server latest.
$ sudo dnf upgrade
$ sudo dnf install openssl openssl-devel
$ wget https://get.gravitational.com/teleport-7.1.0-1.x86_64.rpm
$ sudo dnf install teleport-7.1.0-1.x86_64.rpm
$ sudo systemctl status teleport.service
If the service is not running, start it using the command below:
$ sudo systemctl start teleport.service
In this section, we will configure Teleport to set up users, roles, and access to the servers.
$ sudo mkdir -p /etc/teleport/
$ sudo nano /etc/teleport/teleport.yaml
Add the following configuration to the file:
auth_service:
enabled: yes
cluster_name: teleport
listen_addr: 0.0.0.0:3025
public_addr: teleport.example.com:3025
data_dir: /var/lib/teleport
audit:
sessions: /var/log/teleport-sessions.log
commands: /var/log/teleport-commands.log
servers:
- role: node
listen_addr: 0.0.0.0:3023
public_addr: teleport.example.com:3023
data_dir: /var/lib/teleport
auth_token: secret_token
ca_pin: "sha256:85185a8b45cdc1a7a06eab5c5427c0"
audit:
sessions: /var/log/teleport-sessions.log
commands: /var/log/teleport-commands.log
Note: replace the "teleport.example.com" with your domain name.
$ sudo useradd teleportuser
$ sudo passwd teleportuser
$ sudo tctl version
$ sudo systemctl start teleport.service
We have successfully installed and configured Teleport on Fedora Server latest. You can now set up access controls to your servers using Teleport.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!