VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Secure Shell (https://forums.vandyke.com/forumdisplay.php?f=15)
-   -   github denies public key when using SecureCRT (https://forums.vandyke.com/showthread.php?t=13605)

Marat 06-27-2019 06:36 AM

github denies public key when using SecureCRT
 
1 Attachment(s)
Hi,

i have some strange behaviour when trying to pull/push data from/to my github account. While it works with every other SSH client, github denies my public key when i'm connected to my VPS using SecureCRT.

I connect to the same VPS using the same user and key pair as i use in MobaXterm and Putty. Unfortunately my superficial knowledge about SSH authentication didn't help me finding the problem here.
Please have a look at the attached screenshot with some debugging output from ssh console:
https://forums.vandyke.com/attachmen...achmentid=1730
SecureCRT is on the left, MobaXterm is on the right, both connected to the same server at the same time.
As far as I understand, they find and try the same public key (there is only one), but then things go different ways.
There are also two more rows with another keys on the right side, but i have absolutely no idea, where they are coming from, and github still accepts the public key from the file.

My SecureCRT Settings should be pretty default, i did just setup my connection.

Anyone got an idea about wahts could go wrong here?
Thank you and kind regards,
Marat

bgagnon 06-27-2019 12:24 PM

Hi Marat,

Have you added those same keys to SecureCRT's agent?

Either manually (Tools -> Manage Agent Keys...) or by enabling Add keys to agent in the SSH2 category of Global Options?

What agent does MobaXterm use? Is it Putty's (Pageant)?

Archon810 08-08-2019 03:36 PM

I don't know if your problem was the same, but I solved mine using a solution from https://ricostacruz.com/til/github-always-ssh.

HTML Code:

git config --global url."git@github.com:".insteadOf "https://github.com/"


All times are GMT -6. The time now is 06:31 PM.