Skip to content

Instantly share code, notes, and snippets.

@akesterson
Created June 13, 2013 13:13
Show Gist options
  • Save akesterson/5773543 to your computer and use it in GitHub Desktop.
Save akesterson/5773543 to your computer and use it in GitHub Desktop.
[root@failwhale: lib]$ cat ~/.ssh/config
Host github-automation-alias
IdentityFile ~/.ssh/automation.pem
HostName github.com
User git
BatchMode yes
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
[root@failwhale: lib]$ ssh github-automation-alias
Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts.
Hi MY_USER! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
[root@failwhale: lib]$ /usr/bin/git clone -b master git://github-automation-alias/MY_USER/MY_REPO.git /var/lib/public --recursive
Cloning into '/var/lib/public'...
fatal: Unable to look up github-automation-alias (port 9418) (Name or service not known)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment