git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git+ssh, which config file should I use for ssh settings?

From
RCRavi Chhabra <ravi.chhabra@gmail.com>
Date
Aug 17, 2008, 09:26 UTC
Message-ID
<e975c1980808170226mc3e3812p76d8364df2b8f39e@mail.gmail.com>

Good morning, I set up a repo as follows:

git remote add origin git@git.assembla.com:mconverter.git
But, I can't push to it by using the command below:
git push origin master
I get:
ssh:fatal: The remote end hung up unexpectedly

If I run Git-Gui I push, I get: ssh: connect to host git.assembla.com port 22: Bad file number Pushing to git@git.assembla.com:mconverter.git fatal: The remote end hung up unexpectedly

What am I doing wrong, and how did git know that I using git+ssh? I installed Git on windows Vista, the SSH that comes with git is inside the git program folder under 'bin'. So where do I place the config files? My git folder is C:\Program Files\Git\, and ssh is in C:\Program Files\Git\bin. Do I need to create etc folder under git and name it as ssh_config for the ssh options? My ISP blocks all ports except 443/80. I am trying to set up a tunnel to push git through. Please help! Ravi.

Message 1 of 1 in “Git+ssh, which config file should I use for ssh settings?”
  1. Ravi ChhabraAug 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.