Teleport
We're using Teleport to access our internal resources.
Get started
Teleport has a great quick start guide.
Web UI
You can access SSH console and Apps right from the browser. Navigate to https://t.bksp.in and login with your BKSP ID account.
CLI
If you frequently use SSH access, you may find the tsh CLI tool much more convenient. Please follow the installation guide.
After install, you need to sign in with your BKSP ID account:
tsh login --proxy=t.bksp.in That's a one-time operation. Your session will be valid for 8 hours, after which tsh will automatically re-authenticate you if needed.
Now you can use tsh to establish ssh connection:
tsh ssh root@hostYou can also generate ssh config to automatically use tsh when connecting to bksp hosts:
tsh config >> ~/.ssh/config
ssh root@host.bksp # works just like tsh ssh root@hostCluster Management
How to use Agents’ auto-upgrade feature?
First, you need to prepare a Teleport Resource Definition with the upgrade policy:
kind: autoupdate_version
metadata:
name: autoupdate-version
spec:
agents:
start_version: 18.4.1
target_version: 18.4.2
schedule: regular
mode: enabledUpdate policy in Teleport Auth Controller:
# Log-in to Secbox
tsh ssh root@secbox
# Import the updated autoupdate_version policy
docker exec -it teleport tctl create -f # ... then paste it, press Return & Ctrl+D
# Manually trigger agents to self-update, out of maintenance window
docker exec -it teleport tctl autoupdate agents start-update default
# Track rollout status
docker exec -it teleport tctl autoupdate agents status