cponder
February 17, 2018, 10:18am
1
We’re using GitLab at our site. My project web-page
https://gitlab-master.MyCompany.com/Me/PROJECT1
has a pane that alternately shows the HTTPS and SSH access paths
https://gitlab-master.myCompany.com/Me/PROJECT1.git
ssh://git@gitlab-master.MyCompany.com:12051/Me/PROJECT1.git
The SSH path is in the wrong format, however. It took me awhile to figure out why the repository operations were asking for ID & password when I’d uploaded the SSH tokens correctly. The right format for the .git/config file is
url = git@gitlab-master.MyCompany.com:Me/PROJECT1.git
Note that the corresponding pane on the BitBucket website
https://bitbucket.org/Me/PROJECT2
gives the correct format for the SSH path
git@bitbucket.org:Me/PROJECT2.git
cponder
February 17, 2018, 10:33am
2
There are some other problem-tickets related to authentication not working. The descriptions are complex enough that I can’t tell if the root-cause is related or not:
Hello ,
Sorry for my approximative langage in my issue description.
I’m running a gitlab server (centos7.3) with CE Omnibus gitlab-ce-8.16.5-ce.0.el7.x86_64
and another machine also centos7.3 with gitlab-ci-multi-runner-1.11.4-1.x86_64
I want to execute a script test define in .gitlab-ci.yml on the machine running the gitlab-ci-multi-runner
I first setup a runner with the shell method and then a runner.ssh using a password in the config.toml
when i modify my project/repository…
I have an AWS Ubuntu instance which has GitLab CE configured. Now I
want to configure GitLab CI to deploy my NodeJS app after each commit.I
don’t have any proper step by step solution for this.
My NodeJS app running in /var/www/mean/my-app on http://myapp.mydomain.com and the hosting is handled by Apache Proxy,
<VirtualHost *:80>
ServerName myapp.mydomain.com
ProxyPreserveHost On
ProxyPass / http://localhost:8089/
ProxyPassReverse / http://localhost:8089/
ErrorLog ${APACHE_LOG…
I’m pulling my hair out trying to get ssh working with my gitlab setup. I have https cloning fine. But every time I try to pull using ssh it asks for a password for git@mygitlab.com . Below is the verbose output when I try to connect. Any ideas?
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to mygitlab.com
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/i…
Hello,
I tried to set up Gitlab CI on one of my gitlab project, but I ran through a problem with the ssh executor.
I get the following error:
Checking for builds… received ←[0;m build←[0;m=102 repo_url←[0;m=http://pc-name/group-name/Gitlab-Sandbox.git runner←[0;m=c3b55990
←[0;33mWARNING: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password publickey], no supported methods remain←[0;m ←[0;33mbuild←[0;m=102 ←[0;33mproject…
hello, prefixing with ssh:// actually avoids some problems concerning detection of the ssh port and is THE canonical URL form as found in the man page of git clone. All three of gitlab, github and bitbucket.do this wrongly. Your problem is the colon between host and group, with the canonical form there needs to be a slash instead.
regards mirko