Skip to content

Instantly share code, notes, and snippets.

@leotm
Last active May 28, 2016 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leotm/1deb530760f18b002a700a4da1b5da0c to your computer and use it in GitHub Desktop.
Save leotm/1deb530760f18b002a700a4da1b5da0c to your computer and use it in GitHub Desktop.
$ `bash`
$ ssh <username>@<host> -p<port>
# Causes hang
$ bash
$ ssh <username>@<host> -p<port>
# Works
$ `ssh-agent`
bash: SSH_AUTH_SOCK=/tmp/ssh-ic83uMHi6MDg/agent.4932;: No such file or directory
# Gives directory error
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-u87wNcHhLi0c/agent.17800; export SSH_AUTH_SOCK;
# Works
# Does anybody know why?
# Environment: Win10Ult64, [Git Bash]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment