Skip to main content
prompt GP ChatGPT

GitHub SSH Setup for Students — ChatGPT prompt: how to use

Instructs an AI assistant to set up GitHub SSH access for beginners step by step. Clones an existing repository without HTTPS, tokens, or passwords.

Open on GitHub

What GitHub SSH Setup for Students (Existing Repository, Clone & Push Ready) does

The prompt directs the assistant to guide a Git beginner through SSH setup without unnecessary theory. It checks if Git is installed, creates an ed25519 key if one is missing, displays the public key, and waits for confirmation after the user adds it to https://github.com/settings/keys.

The rules prohibit HTTPS, account passwords, personal access tokens, forking, and running git init. Once ssh -T [email protected] succeeds, the assistant clones the existing repository, verifies git remote -v, and runs git status. If Git is not installed on the system, the process halts on the very first step.

What it helps with

  • generate an ed25519 SSH key and verify authentication with GitHub
  • clone an existing repository using SSH instead of HTTPS
  • verify remote origin configuration and clean working directory status
  • onboard a collaborator who has no prior Git or command line experience

Example prompts for the agent

  • Help me set up SSH access for repository [email protected]:USERNAME/REPOSITORY.git
  • I am new to Git, guide me through setting up SSH to clone my team repository

How to install GitHub SSH Setup for Students (Existing Repository, Clone & Push Ready)

How to use

Paste the text at the start of a chat or into project instructions

Questions about GitHub SSH Setup for Students (Existing Repository, Clone & Push Ready)

How to use GitHub SSH Setup for Students in ChatGPT?

Paste the prompt into ChatGPT or Claude.ai, updating USERNAME/REPOSITORY with your target repository path. Then follow the assistant's terminal commands step by step.

What does this prompt do?

It forces the AI model to verify Git installation, generate an ed25519 key, wait for key addition on GitHub, test SSH connectivity, and clone the target repository.

Why does the prompt ban HTTPS and tokens?

The configuration strictly enforces SSH authentication, eliminating passwords, personal access tokens, repository forks, and git init.

Source text

prompts.csv · CC0-1.0
# ROLE
You are an assistant configuring GitHub access for a student who does NOT know Git or GitHub.

# CONTEXT
- The GitHub repository already exists and is NOT empty.
- The student is already added as a collaborator.
- The goal is to make the repository fully usable with SSH.
- No explanations unless necessary.

# FIXED REPOSITORY (SSH – DO NOT CHANGE)
[email protected]:USERNAME/REPOSITORY.git

# GOAL
- Repository is cloned locally
- SSH authentication works
- Repository is ready for direct push

# STRICT RULES
- DO NOT use HTTPS
- DO NOT ask for GitHub password
- DO NOT use tokens
- DO NOT run `git init`
- DO NOT fork the repository
- Use SSH only

# STEPS (EXECUTE IN ORDER AND VERIFY)
1. Check if Git is installed. If not, stop and say so.
2. Check if an SSH key (ed25519) exists.
   - If not, generate one.
3. Show the PUBLIC SSH key (.pub) exactly as-is.
4. Ask the user to add the key at:
   https://github.com/settings/keys
   and WAIT until they confirm.
5. Test SSH authentication:
   ssh -T [email protected]
   - If authentication fails, stop and explain why.
6. Clone the repository using SSH.
7. Enter the repository directory.
8. Verify the remote:
   git remote -v
   - It MUST be SSH.
9. Show `git status` to confirm a clean state.

# DO NOT
- Add files
- Commit
- Push
- Change branches

# SUCCESS OUTPUT (WRITE THIS EXACTLY)
All checks passed, the repository is ready for push.

© senoldak · CC0-1.0 · f/prompts.chat

Similar prompts

All prompts for Git and GitHub →

From the same set133

The whole set →
Gravity Shift: Low-Poly Physics Platformer A prompt that lays out the concept and the technical brief for a 3D puzzle-platformer where the whole world turns 90 degrees on a keypress. Useful as a starting skeleton for a Three.js and Cannon.js build. GP ChatGPT ★ 174,676repo stars Cyber-Pulse: 3D Neon Particle Swarm A prompt for generating a Three.js arcade scene with 15,000 glowing particles. It creates an interactive dodge-em-up prototype reacting to cursor movements. GP ChatGPT ★ 174,676repo stars Code Review Professional A prompt that turns a chat model into a code reviewer: it checks quality, coding standards and optimization spots. Handy when you want a second opinion on fresh code. GP ChatGPT ★ 174,676repo stars ⚙️ PromptForge A prompt that takes your prompt apart step by step: finds ambiguities, rewrites it tighter, then stress-tests it. GP ChatGPT ★ 174,676repo stars Setup and Bootstrap a Flutter Development Environment This prompt guides an agent through installing Flutter, creating a flutter_app project, and setting up basic CI checks. Use it when starting on a local machine. GP ChatGPT ★ 174,676repo stars Potato Critic A prompt that flips the model into a hostile critic: type “Potato” before an idea and it hunts for holes in your logic instead of cheering you on. GP ChatGPT ★ 174,676repo stars DOE Framework - Directions Template Guides AI models in drafting structured standard operating procedures, project constraints, and quality benchmarks in Markdown. GP ChatGPT ★ 174,676repo stars aa/cli taste This prompt sets preferences for TypeScript CLI projects, from package management to command handling. Use it when asking an AI to create or revise a command-line tool with a defined stack. GP ChatGPT ★ 174,676repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor