Archi Forum

Archi Plug-ins => coArchi => Topic started by: coeko50 on March 16, 2023, 22:38:32 PM

Title: git@githum.com:uid/repo.git: Cannot log in at github.com:22
Post by: coeko50 on March 16, 2023, 22:38:32 PM
I'm getting git@githum.com:uid/repo.git: Cannot log in at github.com:22
when try to access github from within Archi 5.0    macOs Silicon (M1 Max), Ventura 13.2.1
CoArchi 0.8.7.202212021111




Local actions are working such as Commmit.

commands like ssh -T -p 443 git@ssh.github.com. are all working

Git command line is working, ie. git push etc.

my config file:
[core]
   repositoryformatversion = 0
   filemode = true
   logallrefupdates = true
   precomposeunicode = true
   autocrlf = input
   longpaths = true
   ignorecase = true
[remote "origin"]
   url = git@github.com:<uid>/<repo>.git
   fetch = +refs/heads/*:refs/remotes/origin/*
[commit]
   gpgSign = false
[branch "master"]
   remote = origin
   merge = refs/heads/master
[lfs]
   repositoryformatversion = 0

any help please?
Title: Re: git@githum.com:uid/repo.git: Cannot log in at github.com:22
Post by: Phil Beauvoir on March 16, 2023, 22:49:21 PM
Has this repo worked before for you?

Please check you've set up SSH correctly as explained here - https://github.com/archimatetool/archi-modelrepository-plugin/wiki/SSH-Authentication

Also check whether HTTPS connections are working.

(I'm assuming "githum" is a typo)
Title: Re: git@githum.com:uid/repo.git: Cannot log in at github.com:22
Post by: coeko50 on March 17, 2023, 09:32:48 AM
thanks for the reply.
I have used the same repositories previously with ssh on Windows, before switching to Mac.

Https is working, thanks.


Title: Re: git@githum.com:uid/repo.git: Cannot log in at github.com:22
Post by: Phil Beauvoir on March 17, 2023, 10:32:15 AM
This error will occur if the SSH credentials file is incorrect. In fact, it just happened to me because I had the wrong one set in preferences.