Open Basti-Fantasti opened 1 year ago
I also use private gitlab with SSH. The boss login, try to perform in Power Shell as an administrator.
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.
oh and I just found out that on our self hosted gitlab server ouath is deactivated 😢
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 git@mygitlab.url/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.
any chance that this will be fixed?
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.
Cool @Basti-Fantasti... Please, if possible, send us the Pull request.
How can I configure boss to fetch dependencies from my locally hosted gitlab server using SSH instead of HTTPS? I have logged in with boss to my gitlab instance:
When I now try to install a dependency using the repo path as I would with git clone
It can not be cloned because it's trying to clone using HTTPS instead of SSH which is not available on my github server. How can this be changed?
Best regards Bastian