Skip to content

Syncs your ssh keys from Github to your authorized keys file

Notifications You must be signed in to change notification settings

jonas-be/gh-ssh-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Github SSH key sync

This script syncs your ssh keys to your authorized keys file.

Install

  1. Download the script
  2. Move it to bin. For example to /usr/local/bin

Configuration

You only need to set your GITHUB_USER as environment variable, the rest is optional.

# Required
export GITHUB_USER=jonas-be
# Optional
export FILE=.ssh/authorized_keys
export GH_SYNC_MARKER="# Github ssh key sync"

About

Syncs your ssh keys from Github to your authorized keys file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages