Skip to content

0xjuanma/ssh-key-generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

SSH Key Generator

This is a small script to generate SSH keys following GitHub's docs.

For convenience, this script is also available as a Github gist.

Usage

chmod +x generate-ssh.sh
./generate-ssh.sh

The script will prompt for your email and generate an Ed25519 SSH key at ~/.ssh/id_ed25519.

Note: The script will exit if a key already exists at that location to prevent accidental overwrites.

Add to Platform

After generation, copy your public key to add it to GitHub, GitLab, or other platforms:

pbcopy < ~/.ssh/id_ed25519.pub

About

Simple script to generate a new ssh key

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages