Open a-t-0 opened 1 year ago
Probably because no https is supported yet.
(base) name@name:~/git$ git clone git@127.0.0.1:root/sponsor_example.git
Cloning into 'sponsor_example'...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 444
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
(base) name@name:~/git$ git clone git@127.0.0.1:root/sponsor_example.git
Cloning into 'sponsor_example'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 80
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
(base) name@name:~/git$ git clone git@127.0.0.1:root/sponsor_example.git
Cloning into 'sponsor_example'...
ssh: connect to host 127.0.0.1 port 22: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
touch ~/.ssh/config
and put content:
Host 127.0.0.1
Hostname 127.0.0.1
User root
Port 444
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_ed25519
to make git push
for gitlab go over certain port with specific ssh key.
Old command with decayed token:
github2gitlab --gitlab-url http://127.0.0.1 --gitlab-token sometoken --github-repo a-t-0/sponsor_example --gitlab-username root
Currently, this repository evaluates all commits in a GitHub repository and for each commit with a
.GitLab-CI.yml
, it will:run_ci_on_github_repo() {
in here.