Description
Versions:
OS: Ubuntu 18.04
Git: git version 2.18.0 Lab version 0.16.0
Steps to reproduce:
- Create 'myproject' directory containing only a dummy README.md file
- $ git init
- $ lab project create --private (as default --internal is refused by gitlab)
- Let default host (https://gitlab.com)
- Paste Access Token created on https://gitlab.com/profile/personal_access_tokens
- $ lab push
Messages displayed including error :
Config saved to /home/rbc/.config/lab.hcl Updating origin failed to connect to gitlab.com:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. failed to connect to gitlab.com:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. failed to connect to gitlab.com:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 2019/10/10 22:54:56 project_create.go:72: All attempts fail: #1: exit status 128 #2: exit status 128 #3: exit status 128
Strangely, the repo is nevertheless created on gitlab but is empty and any subsequent push will fail with the same error.