For some reason, my console hangs if I try to run any ssh
command. For example:
ssh user@server date
will hang,
ssh -f user@server date
works.
If I want to include the -f
argument in a git remote
URL, how would I do so? Right now I have:
git remote add origin ssh://user@server/home/user/repo/mine.git
but if I try to push/pull from it, it hangs. I would like to add the -f
argument to this URL because I suspect it will solve the problem.
How do I tell git
to use the -f
argument when calling ssh
?