Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Secure Shell


Thread Tools Display Modes
Old 06-27-2019, 06:36 AM
Marat Marat is offline
Registered User
Join Date: Jun 2019
Posts: 1
github denies public key when using SecureCRT


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:
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,
Attached Images
File Type: png Marat_F13605.01.png (895.4 KB, 1231 views)

Last edited by jdev; 06-27-2019 at 12:16 PM. Reason: Embedded graphic into post for efficient viewing
Reply With Quote
Old 06-27-2019, 12:24 PM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,636
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)?

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote
Old 08-08-2019, 03:36 PM
Archon810 Archon810 is offline
Registered User
Join Date: Feb 2008
Posts: 2
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/"
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 08:41 PM.