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

Pro-tip: Workaround for error when trying to add bit remote #682

Closed
gscottolson opened this Issue Jan 25, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@gscottolson
Copy link

gscottolson commented Jan 25, 2018

I followed the instructions for setting up bit on a server. Upon adding the bit remote, I get the following error:

bit remote add ssh://[ ip redacted ]:/opt/bit/first-scope
fatal: remote scope "Error" not found.

The set up instructions asked the user to create a bit account on the bit server. So I added the following to the url after ssh://: bit@

bit remote add ssh://bit@[ ip redacted ]:/opt/bit/first-scope
added remote scope 'first-scope' with host 'ssh://bit@[ ip redacted ]:/opt/bit/first-scope'

If this seems useful, I am happy to create a PR to add this to the docs. 🍻

@itaymendel

This comment has been minimized.

Copy link
Member

itaymendel commented Jan 28, 2018

hi @gscottolson ! thanks for posting this issue :)

currently, the docs is still a private project (which we plan to open-source soon), so you can't add your own fix right now. However, with your permission, i can do a quick fix to the docs, and add the ssh-user to the command (and of course, give you credit for it).

what do you think?

@itaymendel itaymendel self-assigned this Jan 28, 2018

@gscottolson

This comment has been minimized.

Copy link

gscottolson commented Jan 28, 2018

Of course. And thanks for your work on this project.

@itaymendel

This comment has been minimized.

Copy link
Member

itaymendel commented Jan 29, 2018

thanks! i'll publish a new version of the docs shortly.

we're trying to solve a problem that we encounter daily, and hope the solution can fit other developers :)

@itaymendel itaymendel closed this Jan 29, 2018

@lamtranweb

This comment has been minimized.

Copy link

lamtranweb commented May 18, 2018

I followed instructions on the docs, but the following command to my own server:

bit remote add ssh://[bit-username]@[bit-server]:/opt/bit/[scope-name]

Still asks for username and password even though I already set up SSH authentication (as I'm able to ssh into my server without providing username/password).

I went ahead and added a password to my user anyway. But providing the password, or no matter what I do, still end up with:

authentication failed. see troubleshooting at https://docs.bitsrc.io/docs/authentication-issues.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment