Skip to content

Instantly share code, notes, and snippets.

@delianides
Created September 17, 2012 18:12
Show Gist options
  • Save delianides/3738857 to your computer and use it in GitHub Desktop.
Save delianides/3738857 to your computer and use it in GitHub Desktop.
SSH Key Gen
#!/usr/bin/env bash
#cd ~/.ssh;
echo "Changed to SSH dir...What is your email address?"
while read inputline do
echo "\r\r\r" | ssh-keygen -t dsa -C '$inputline'
echo ~/.ssh/id_dsa.pub > ~/Desktop/SendToDrew
end
@chandlervdw
Copy link

Drew?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment