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←[0;m=80 ←[0;33mrunner←[0;m=c3b55990
Will be retried in 3s …
My gitlab server runs on a Ubuntu server, and the runner is on another computer running Windows 7
The runner is visible on gitlab and shown as running. Here is the config.toml:
concurrent = 1
check_interval = 0
[[runners]]
name = “pc-name”
url = “http://xxx.xxx.xxx.xxx/ci”
token = “tokenofmyproject”
executor = “ssh”
[runners.ssh]
user = “user”
password = “userpassword”
host = “xxx.xxx.xxx.xxx”
port = “22”
identity_file = “C:\Users\UserName\.ssh\ssh_runner/id_rsa”
[runners.cache]
I generated an ssh key with : ssh-keygen -t rsa -C “runner_ssh”
and I placed the public key in the “Deploy Keys” of my project
Do you have a clue about what I am messing up or missing ?
Thanks