Virtualbox executor . SSH hanshake failed.
log: Running with gitlab-ci-multi-runner 1.10.6 (2dadd489) Using VirtualBox version 5.0.32_Ubuntur112930 executor... Creating new VM... ERROR: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain Will be retried in 3s ... Using VirtualBox version 5.0.32_Ubuntur112930 executor... Restoring VM from snapshot... Previous VM failed. Deleting, because VBoxManageOutput error: Creating new VM... ERROR: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain Will be retried in 3s ... Using VirtualBox version 5.0.32_Ubuntur112930 executor... Restoring VM from snapshot... Previous VM failed. Deleting, because VBoxManageOutput error: Creating new VM... ERROR: Preparation failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain Will be retried in 3s ... ERROR: Build failed (system failure): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
config.toml
[[runners]] name = "vm" url = "http:///ci" token = "***********************" executor = "virtualbox" [runners.ssh] user= "name" password= "" [runners.virtualbox] base_name = "vm_name" [runners.cache] Insecure= false
How to resolve the issue:
my rule for portforwarding: Rule(0): name = ssh, protocol = tcp, host ip = , host port = 2222, guest ip = , guest port = 22
my host os is ubunut 16.04. guest os is freebsd11