If you must specify a port, then you cannot use ssh syntax. Try:
git clone ssh://user@ip_address:port_number/SSH/home/User/myapp.git
-- Hannes
AFAIK the path c:\users\name is the *real* Windows path to the users
which have full accounts on the machine, so I guess copSSH checks if
the person logging in has a Windows account, and looks for the .ssh
there. My guess is that uses without a full Windows user account would
still be looking into the c:\SSH\Home\User directory.. But this is
just speculation, I've never used copSSH.
> So I attempted to copy the keys directly from c:\SSH\Home\User\.ssh to
> c:\users\name\.ssh - then run git clone command again - still the same
> problem.
>
>> "fatal: The remote end hung up unexpectedly"
>
> It's strange that a copSSH Bash windows can connect - but a git Bash
> window generates this error.
>
> I have literally tried everything and it just keeps hitting me with
> this error - anyway to trace or determine what is going ?
I think you might be hitting the Cygwin vs MSys incompatibility.
copSSH is based on Cygwin, and it's generally known that mixing Cygwin
apps and MSys apps are not a good idea.
See, the copSSH daemon/service, which is a cygwin app, would have to
run the MSys bash, provided with msysgit, in order for git to work.
So, if the system incompatibility triggers a crash in the msys bash, I
guess you'd get the response above. You might want to go full Cygwin
on your Windows server instead, and you can still use msysGit for your
clients..
Again, this is all speculation, or hints if you will..
--
.marius
Also, if you're dead determined to run Windows, you might consider
installing andLinux (or coLinux if you're brave/like to tinker), which
allows you to run Linux apps unmodified on your Windows box. You can
even start the system as a service when Windows boots, so it's ready
for use right away, or just boot the system when you want to develop.
Look at the following page to open up the Linux ports from your
Windows IP:
http://www.andlinux.org/wiki/index.php5?title=Howto:_open_externally_accessible_ports_for_SSH_server,_webserver,_etc.
If installed in COFS mode, you can even run a bog standard Linux Git
on your Windows drive, while you're developing on Windows. I haven't
tested this though, so don't blame me if it's unstable/not working.
Will give you access to all git tools though, in their 'natural'
environment.
--
.marius
Ah sorry, never mind, doesn't support 64-bits Windows yet:
http://colinux.wikia.com/wiki/Dashboard_for_developing_a_64_bit_coLinux
--
.marius