Created
June 4, 2010 20:19
-
-
Save guilleiguaran/425896 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ % echo $GIT_SSH | |
ssh -F /Users/guille/ssh_config | |
~ % cat ssh_config | |
# Key for guille | |
Host github-guille | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_rsa | |
# Key for mario | |
Host github-mario | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_rsa.mario | |
~ % ssh -F ssh_config git@github-mario | |
PTY allocation request failed on channel 0 | |
ERROR: Hi mariotatis! You've successfully authenticated, but GitHub does not provide shell access | |
Connection to github.com closed. | |
~ % ssh -F ssh_config git@github-guille | |
PTY allocation request failed on channel 0 | |
ERROR: Hi guilleiguaran! You've successfully authenticated, but GitHub does not provide shell access | |
Connection to github.com closed. | |
~ % git clone git@github-mario:koombea/rhospike.git | |
Initialized empty Git repository in /Users/guille/rhospike/.git/ | |
error: cannot run ssh -F /Users/guille/ssh_config: No such file or directory | |
fatal: unable to fork | |
~ % git clone git@github-mario:koombea/publisher.git | |
Initialized empty Git repository in /Users/guille/publisher/.git/ | |
error: cannot run ssh -F /Users/guille/ssh_config: No such file or directory | |
fatal: unable to fork |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment