Find a file
Forrest Marshall cda5a39d28 Add TLS certs to user identity files
- Updates the identity files exported by `tctl auth sign` to include the
user's TLS certificate, as well as the set of available TLS root CA
certs.

- Adds a new GRPC-based auth server method, `GenerateUserCerts`, which
exports both SSH and TLS based certs.
2019-07-03 12:54:03 -07:00
assets Fix typo in AMI provisioning script (#2749) 2019-05-28 20:25:32 -03:00
build.assets Upgrade to Go 1.12.1. 2019-05-21 10:22:13 -07:00
docker fix docker dev env docs and image build problem 2019-02-04 10:27:31 -08:00
docs Clarification about certificates being SSH vs SSL/509x (#2788) 2019-06-25 11:47:40 -07:00
e@9475455b14 Fix regression bug with active sessions (#2809) 2019-06-27 17:18:36 -04:00
examples Automatically restart Teleport process in demo environments (#2824) 2019-07-03 14:40:04 -03:00
fixtures Add TLS certs to user identity files 2019-07-03 12:54:03 -07:00
integration Add TLS certs to user identity files 2019-07-03 12:54:03 -07:00
lib Add TLS certs to user identity files 2019-07-03 12:54:03 -07:00
modules/pam_teleport Added PAM support to Teleport. 2018-03-20 14:20:43 -07:00
tool Add TLS certs to user identity files 2019-07-03 12:54:03 -07:00
vagrant Issue 1536 - adds Vagrant support for VMware Fusion 2018-01-02 19:53:08 +01:00
vendor Use RADIX trees for prefix matching. (#2666) 2019-04-22 15:28:04 -07:00
web Fix regression bug with active sessions (#2809) 2019-06-27 17:18:36 -04:00
.gitattributes fix linguist stats for project 2016-06-02 20:50:30 +03:00
.gitignore Update .gitignore to ignore .zip files (Windows build artifact). 2018-10-30 17:01:30 -07:00
.gitmodules Reproducible Teleport demo environments in Kubernetes (#2585) 2019-04-09 14:09:25 +01:00
CHANGELOG.md Update CHANGELOG.md 2019-06-28 16:11:14 -07:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-12-18 12:14:31 -08:00
constants.go tctl: users add/ls and tokens ls json output 2019-04-25 14:22:49 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2017-08-10 16:41:00 -07:00
doc.go Added proper comments to teleport package 2017-01-03 22:54:53 -08:00
Gopkg.lock Use RADIX trees for prefix matching. (#2666) 2019-04-22 15:28:04 -07:00
Gopkg.toml Use RADIX trees for prefix matching. (#2666) 2019-04-22 15:28:04 -07:00
LICENSE Apply apache license to teleport 2015-10-31 11:56:49 -07:00
Makefile Cleanup of dead code. 2019-07-02 18:01:44 -07:00
metrics.go Use RADIX trees for prefix matching. (#2666) 2019-04-22 15:28:04 -07:00
README.md Update to use the latest and correct Docker image. 2019-06-12 10:33:13 +03:00
roles.go Updated "tctl tokens ..." command. 2018-09-04 10:16:29 -07:00
version.go Cleanup of dead code. 2019-07-02 18:01:44 -07:00
version.mk Added proper comments to teleport package 2017-01-03 22:54:53 -08:00

Gravitational Teleport

Gravitational Teleport is a modern security gateway for remotely accessing:

  • Clusters of Linux servers via SSH or SSH-over-HTTPS in a browser.
  • Kubernetes clusters.

It is intended to be used instead or together with sshd for organizations who need:

  • SSH audit with session recording/replay.
  • Kubernetes API Access with audit and kubectl exec recording/replay.
  • Easily manage trust between teams, organizations and data centers.
  • Have SSH or Kubernetes access to behind-firewall clusters without any open ports.
  • Role-based access control (RBAC) for SSH protocol.
  • Unified RBAC for SSH and Kubernetes.

In addition to its hallmark features, Teleport is interesting for smaller teams because it facilitates easy adoption of the best infrastructure security practices like:

  • No need to distribute keys: Teleport uses certificate-based access with automatic certificate expiration time.
  • 2nd factor authentication (2FA) for SSH and Kubernetes.
  • Collaboratively troubleshoot issues through session sharing.
  • Single sign-on (SSO) for SSH/Kubernetes and your organization identities via Github Auth, OpenID Connect or SAML with endpoints like Okta or Active Directory.
  • Cluster introspection: every SSH node and its status can be queried via CLI and Web UI.

Teleport is built on top of the high-quality Golang SSH implementation and it is fully compatible with OpenSSH and can be used with sshd servers and ssh clients.

Project Links Description
Teleport Website The official website of the project
Documentation Admin guide, user manual and more
Demo Video 3-minute video overview of the UI.
Teleconsole The free service to "invite" SSH clients behind NAT, built on top of Teleport
Blog Our blog where we publish Teleport news
Security Updates Teleport Community Edition Security Updates
Community Forum Teleport Community Forum

Installing and Running

Download the latest binary release, unpack the .tar.gz and run sudo ./install. This will copy Teleport binaries into /usr/local/bin.

Then you can run Teleport as a single-node cluster:

$ sudo teleport start 

In a production environment Teleport must run as root. But to play, just do chown $USER /var/lib/teleport and run it under $USER, in this case you will not be able to login as someone else though.

If you wish to deploy Teleport inside a Docker container:

# This command will pull the Teleport container image for version 3.2.6
# Replace 2.7.3 with the version you need:
$ docker pull quay.io/gravitational/teleport:3.2.6

Building Teleport

Teleport source code consists of the actual Teleport daemon binary written in Golang, and also it has a web UI (located in /web directory) written in Javascript. The WebUI is not changed often and we keep it checked into Git under /dist, so you only need to build Golang:

Make sure you have Golang v1.8.3 or newer, then run:

# get the source & build:
$ mkdir -p $GOPATH/src/github.com/gravitational
$ cd $GOPATH/src/github.com/gravitational
$ git clone https://github.com/gravitational/teleport.git
$ cd teleport
$ make full

# create the default data directory before starting:
$ sudo mkdir -p /var/lib/teleport
$ sudo chown $USER /var/lib/teleport

If the build succeeds the binaries will be placed in $GOPATH/src/github.com/gravitational/teleport/build

NOTE: The Go compiler is somewhat sensitive to amount of memory: you will need at least 1GB of virtual memory to compile Teleport. 512MB instance without swap will not work.

NOTE: This will build the latest version of Teleport, regardless of whether it is stable. If you want to build the latest stable release, git checkout to that tag (e.g. git checkout v2.5.7) before running make full.

Rebuilding Web UI

To enable speedy iterations on the Web UI, teleport can load the web UI assets from the source directory. To enable this behavior, set the environment variable DEBUG=1 and rebuild with the default target:

$ make

# Run Teleport as a single-node cluster in development mode: 
$ DEBUG=1 ./build/teleport start -d

Keep the server running in this mode, and make your UI changes in /dist directory. Refer to web/README.md for instructions on how to update the Web UI.

Updating Documentation

TL;DR version:

make docs
make run-docs

For more details, take a look at docs/README

Why did We Build Teleport?

Mature tech companies with significant infrastructure footprints tend to implement most of these patterns internally. Teleport allows smaller companies without significant in-house SSH expertise to easily adopt them, as well. Teleport comes with an accessible Web UI and a very permissive Apache 2.0 license to facilitate adoption and use.

Being a complete standalone tool, Teleport can be used as a software library enabling trust management in complex multi-cluster, multi-region scenarios across many teams within multiple organizations.

More Information

Support and Contributing

We offer a few different options for support. First of all, we try to provide clear and comprehensive documentation. The docs are also in Github, so feel free to create a PR or file an issue if you think improvements can be made. If you still have questions after reviewing our docs, you can also:

  • Join the Teleport Community to ask questions. Our engineers are available there to help you.
  • If you want to contribute to Teleport or file a bug report/issue, you can do so by creating an issue here in Github.
  • If you are interested in Teleport Enterprise or more responsive support during a POC, we can also create a dedicated Slack channel for you during your POC. You can reach out to us through our website to arrange for a POC.

Is Teleport Secure and Production Ready?

Teleport has completed several security audits from the nationally recognized technology security companies. Some of them have been made public. We are comfortable with the use of Teleport from a security perspective.

You can see the list of companies who use Teleport in production on the Teleport product page.

However, Teleport is still a relatively young product so you may experience usability issues. We are actively supporting Teleport and addressing any issues that are submitted to this repo. Ask questions, send pull requests, report issues and don't be shy! :)

The latest stable Teleport build can be found in Releases

Known Issues

  • Teleport does not officially support IPv6 yet.

Who Built Teleport?

Teleport was created by Gravitational Inc. We have built Teleport by borrowing from our previous experiences at Rackspace. It has been extracted from Gravity, our Kubernetes distribution optimized for deploying and remotely controlling complex applications into multiple environments at the same time:

  • Multiple cloud regions
  • Colocation
  • Private enterprise clouds located behind firewalls