bit icon indicating copy to clipboard operation
bit copied to clipboard

problems with ssh

Open hiukky opened this issue 5 years ago • 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

hiukky avatar Oct 15 '20 12:10 hiukky

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

chriswalz avatar Oct 16 '20 03:10 chriswalz

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 avatar Oct 16 '20 12:10 hiukky

@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 avatar Oct 23 '20 16:10 chriswalz

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

hiukky avatar Oct 26 '20 13:10 hiukky

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

alexcg1 avatar Mar 01 '21 09:03 alexcg1