Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone ssh:// does not work on windows #162

Open
fstx opened this issue Apr 17, 2022 · 4 comments
Open

git clone ssh:// does not work on windows #162

fstx opened this issue Apr 17, 2022 · 4 comments
Labels
portability Issues with Portacle features misbehaving or flat-out not working on certain systems

Comments

@fstx
Copy link

fstx commented Apr 17, 2022

In M-x shell

c:\fstx\marg_hax\portacle>git clone ssh://fstx@mydomain.com/git/lisp
git clone ssh://fstx@s.mydomain.com/git/lisp
Cloning into 'lisp'...
Could not create directory '/home/fstxb/.ssh'.
ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

c:\fstx\marg_hax\portacle>

To be portable, I think that the .ssh directory should be under the portacle directory.

@hajovonta
Copy link

Can you confirm the very same git command works for you from outside Portacle?

@fstx
Copy link
Author

fstx commented Apr 21, 2022

Using Git for Windows, version 2.26.0, it works.

Do you need a ssh host to test this? I can make an account for you on my server.

@hajovonta
Copy link

I see. Is it possible you are using two different git clients here?
What does which git say when you are issuing it in M-x shell?

@fstx
Copy link
Author

fstx commented Apr 21, 2022

Portacle on Windows comes with it's own git client.

c:\fstx\marg_hax\portacle>which git.exe
which git.exe
'which' is not recognized as an internal or external command,
operable program or batch file.

c:\fstx\marg_hax\portacle>git --version
git --version
git version 2.9.3.windows.1

c:\fstx\marg_hax\portacle>where git.exe
where git.exe
C:\fstx\marg_hax\portacle\win\bin\git.exe
C:\Program Files\Git\cmd\git.exe

c:\fstx\marg_hax\portacle>

@Shinmera Shinmera added the portability Issues with Portacle features misbehaving or flat-out not working on certain systems label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
portability Issues with Portacle features misbehaving or flat-out not working on certain systems
Projects
None yet
Development

No branches or pull requests

3 participants