chriswalz/bit

problems with ssh

hiukky opened this issue · 5 comments

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

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

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.

@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

@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.

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