Files
tekton/wiki/SSH-Setup-Linux.md
T
adtpdn 625ff5ec69
CI / Run Tests (push) Failing after 2s
CI / Export Windows (push) Has been skipped
CI / Export Linux (push) Has been skipped
CI / Export Android (push) Has been skipped
Test Suite / Unit Tests (GUT) (push) Failing after 2s
Test Suite / Integration Tests (push) Failing after 3s
Test Suite / Code Style Check (push) Failing after 2s
Test Suite / Security Scan (push) Failing after 1m1s
CI / Create Release (push) Has been skipped
Replace SSH tutorial in README with wiki pages by OS
Linux, macOS, Windows SSH setup guides moved to wiki. README becomes index with wiki links and breadcrumb to existing docs.
2026-07-02 01:35:51 +08:00

1.5 KiB

SSH Setup — Linux

Generate an SSH key

Open a terminal and run:

ssh-keygen -t ed25519 -C "your-name@example.com"

Press Enter to accept the default path /home/<you>/.ssh/id_ed25519. Use a passphrase for extra safety.

Add the public key to Gitea

cat ~/.ssh/id_ed25519.pub

Copy the full output, then open http://git.klud.top/user/settings/keys in your browser and paste it. Title: linux-<yourname>.

Accept the server fingerprint and test

ssh -T git@thunderobot -p 222
  • If asked Are you sure you want to continue connecting (yes/no/[fingerprint])?, type yes.
  • Expected output: Hi there, <yourname>! You've successfully authenticated with the key named linux-<yourname>, but Gitea does not provide shell access.

Clone a repo

git clone git@thunderobot:222/danchie/tekton.git

Or with tea:

tea repos clone --git-protocol ssh danchie/tekton

Troubleshooting

  • Permission denied (publickey) — Your key wasn't added in the Gitea UI, or the agent hasn't loaded it. Run ssh-add ~/.ssh/id_ed25519.
  • Host key verification failed — Run the ssh -T command above interactively at least once.
  • ssh: connect to host thunderobot port 222: Connection refused — Ensure Tailscale is running and you can reach 100.93.226.13.
  • ssh: Could not resolve hostname thunderobot — Run tailscale ping thunderobot to verify tailnet DNS works. If not, use ssh -T git@100.93.226.13 -p 222 instead.