Skip to content

Instantly share code, notes, and snippets.

@archydragon
Created July 24, 2017 11:50
Show Gist options
  • Save archydragon/d0deb142638d0fef72b70171f6b07614 to your computer and use it in GitHub Desktop.
Save archydragon/d0deb142638d0fef72b70171f6b07614 to your computer and use it in GitHub Desktop.
Add repository public key in Debian
#!/bin/bash
KEY=$1
gpg --keyserver pgpkeys.mit.edu --recv-key $KEY
gpg -a --export $KEY | sudo apt-key add -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment