i have same problem with set GIT_SSH_COMMAND="ssh -p 2223 -i 
Z:\zpoubelle\tssh4\id_rsa"

Le mardi 4 octobre 2022 à 09:54:27 UTC+2, Konstantin Khomoutov a écrit :

> On Mon, Oct 03, 2022 at 10:24:39PM -0700, Philippe Couas wrote:
>
> > I use git 2.37 on Windows 10 and i have an problem with git clone ssh
> > 
> > This command is Ok
> > 
> > ssh g...@127.0.0.1 -v -p 2223 -i Z:\zpoubelle\tssh4\id_rsa
> > But following command failed
> > 
> > set GIT_SSH_COMMAND="ssh -p2223-i Z:\zpoubelle\tssh4\id_rsa"
> > git clone g...@127.0.0.1:2223/srv/git/your-repo.git 
> <http://git@127.0.0.1:2223/srv/git/your-repo.git> --verbose
> > 
> > "ssh -p2223-i Z:\zpoubelle\tssh4\id_rsa": line 1: ssh -p2223-i 
> > Z:\zpoubelle\tssh4\id_rsa: No such file or directory
>
> Note that you have inadvertently glued "-p", "2223" and "-i" together, so
> ssh receives a command which is passed a "-p2223-i" command-line argument
> which it supposedly does not know how to interpret.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/ec1798ae-6d23-4001-851f-60ef3bab4bb1n%40googlegroups.com.

Reply via email to