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

problems with ssh #52

Open
hiukky opened this issue Oct 15, 2020 · 5 comments
Open

problems with ssh #52

hiukky opened this issue Oct 15, 2020 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@hiukky
Copy link

hiukky commented Oct 15, 2020

Describe the bug
The bit is not working with repositories with access via ssh. When executing a checkout action on a branch for example, when entering my ssh password and confirming no success is obtained and no error either.

I tried with the same repository using https and had success when informing username and password performing the same action.

To Reproduce
A video showing the action performed.

Bit cast

Expected behavior
Succeed using ssh access.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Terminal: Alacritty
  • Shell: zsh
@hiukky hiukky added the bug Something isn't working label Oct 15, 2020
@chriswalz
Copy link
Owner

Not to ask the obvious but does this work when you use git directly? I'd like to add a --debug mode which could possibly make debugging this like this easier.

Admittedly it's strange that this wouldn't work if it does work on git's end since bit is simply forwarding the command to git

@hiukky
Copy link
Author

hiukky commented Oct 16, 2020

Yes! work normally using git directly either via ssh or https.

As I said before I tested the bit with a cloned repository using https and it worked perfectly .. asked for a username and password and ran the checkout command.

I will try to use it today on my personal computer and see if I get the same behavior with repo cloned using ssh.

As I formatted the computer recently, I haven't yet stored my ssh passwords, but with that I got this behavior. It is something interesting to look at.

About the --debug flag is a great idea.

@chriswalz chriswalz added the help wanted Extra attention is needed label Oct 23, 2020
@chriswalz
Copy link
Owner

chriswalz commented Oct 23, 2020

@hiukky I haven't gotten around to investigating this issue but i added bit --debug. In your case you could run bit checkout <branch> --debug

Also side note: I added a new feature bit pr where you can view and checkout pull requests. Would love to hear feedback on that. That feature requires gh to be installed

@hiukky
Copy link
Author

hiukky commented Oct 26, 2020

@chriswalz reveal the delay in responding. I tested it again using the --debug flag and got this output. I didn't see any errors ... apparently everything is normal ... but I will continue doing some tests.

Follow the link debug co test.
Bit Debug

About the bit I will test this .. interesting feature..

Note: I had already checked out with git at the time of the test.

@alexcg1
Copy link

alexcg1 commented Mar 1, 2021

Just dropping a comment to say I'm facing the same issue.

  • OS: Manjaro (based on Arch)
  • Shell: zsh
  • Terminal: kitty (running tmux). Tested on plain old xterm too and same issue arises

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants