Giter Site home page Giter Site logo

Comments (7)

viniciussanchez avatar viniciussanchez commented on September 28, 2024

I also use private gitlab with SSH.
The boss login, try to perform in Power Shell as an administrator.

from boss.

Basti-Fantasti avatar Basti-Fantasti commented on September 28, 2024

Thanks for the reply.

when trying to clone a repo using the boss install command it asks for an OAuth configuration over `https://mygitlab.url'
so it seems not to do the authentication based on my stored rsa keys which I normally use with git cli on our gitlab instance.

from boss.

Basti-Fantasti avatar Basti-Fantasti commented on September 28, 2024

oh and I just found out that on our self hosted gitlab server ouath is deactivated 😢

from boss.

Basti-Fantasti avatar Basti-Fantasti commented on September 28, 2024

I tried it now several times in different ways in PowerShell, Admin PowerShell and cmder with the same result.
It always asks for the OAuth token via https

I tried to setup the login again like stated in the readme.

boss login
Url to login (ex: github.com): mygitlab.url
Use SSH(y or n): y
Path of ssh private key(C:\Users\Bastian\.ssh\id_rsa): C:\Users\Bastian\.ssh\rsa-key-gitlab
PassPhrase: ***

I also tried to install the dependy by supplying the credentials directly after calling the login on the repo directly supplying the path to the key file

boss login [email protected]/repo.git -k "pathtokeyfile" -p ...

But also when I now try to install a dependency from our gitlab server it asks for the OAuth token so the private key authentication seems to be inactive.

from boss.

Basti-Fantasti avatar Basti-Fantasti commented on September 28, 2024

any chance that this will be fixed?

from boss.

Basti-Fantasti avatar Basti-Fantasti commented on September 28, 2024

I found and fixed the problem.
If you want I can make a PR then you can add it to the next version

It was an issue with handling the filename passed in as the privatekey path.

from boss.

viniciussanchez avatar viniciussanchez commented on September 28, 2024

Cool @Basti-Fantasti... Please, if possible, send us the Pull request.

from boss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.