ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

github-passwordless-setup

Complete GitHub passwordless authentication setup using SSH keys and Personal Access Tokens. Never type passwords or re-authenticate for Git operations and GitHub API calls.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/happydog-intj/github-passwordless-setup
Or

GitHub Passwordless Setup

Complete guide to setting up passwordless authentication for GitHub using SSH keys and Personal Access Tokens (PAT). Once configured, you'll never need to enter passwords for Git operations or GitHub CLI commands.

Verified Working:

  • ✅ macOS 10.15+ (tested on 14.4)
  • ✅ Linux (Ubuntu, Debian, Fedora, Arch)
  • ✅ Windows (WSL2, Git Bash)

🎯 What This Solves

Before:

  • ❌ Type password every time you push/pull
  • ❌ GitHub CLI requires re-authentication
  • ❌ Tokens expire and break workflows
  • ❌ HTTPS URLs need credentials repeatedly

After:

  • ✅ Zero-password Git operations (push/pull/clone)
  • ✅ Zero-password repository creation
  • ✅ Zero-password issue/PR management
  • ✅ Persistent authentication (no expiration)

🚀 Quick Setup

One-line automated setup:

curl -fsSL https://raw.githubusercontent.com/happydog-intj/github-passwordless-setup/master/setup.sh | bash

Or follow the manual steps below.

📋 Manual Setup

Part 1: SSH Key Configuration

SSH keys enable password-free Git operations (push/pull/clone).

Step 1: Check for Existing SSH Keys

ls -la ~/.ssh/*.pub

If you see id_ed25519.pub or id_rsa.pub, you already have a key. Skip to Step 3.

Step 2: Generate New SSH Key

Recommended: ED25519 (most secure)

ssh-keygen -t ed25519 -C "[email protected]"

Or RSA (if ED25519 not supported):

ssh-keygen -t rsa -b 4096 -C "[email protected]"

During generation:

  • Press Enter for default location (~/.ssh/id_ed25519)
  • Enter passphrase (optional but recommended)
  • macOS will save passphrase to Keychain

Step 3: Copy Public Key

# macOS
cat ~/.ssh/id_ed25519.pub | pbcopy

# Linux (xclip)
cat ~/.ssh/id_ed25519.pub | xclip -selection clipboard

# Linux (xsel)
cat ~/.ssh/id_ed25519.pub | xsel --clipboard

# Or just display and copy manually
cat ~/.ssh/id_ed25519.pub

Step 4: Add Key to GitHub

  1. Visit: https://github.com/settings/ssh/new
  2. Title: Your Computer Name (macOS/Linux)
  3. Key type: Authentication Key
  4. Key: Paste your public key
  5. Click Add SSH key

Step 5: Test SSH Connection

ssh -T [email protected]

Expected output:

Hi username! You've successfully authenticated, but GitHub does not provide shell access.

Part 2: GitHub Personal Access Token

PAT enables password-free GitHub CLI operations (create repos, manage issues/PRs).

Step 1: Generate Token

Visit: https://github.com/settings/tokens/new

Configuration:

  • Note: OpenClaw CLI Token (or any description)
  • Expiration: No expiration (or 90 days)
  • Select scopes:
    • repo (all sub-scopes)
    • workflow (if using GitHub Actions)
    • delete_repo (if you need to delete repositories)
    • admin:org (if managing organizations)

Click Generate token and copy it immediately (shown only once!).

Format: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Metadata

Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-happydog-intj-github-passwordless-setup": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.