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 git@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 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/20221004075419.szqcrs7hxdjko3im%40carbon.