BookmarkSubscribeRSS Feed
joelh
Calcite | Level 5

I'm on SAS EG 8.3 (.0.103) and trying to set up the git integration using a github.com repository on my own windows 10 machine as an end-user of SAS EG. 

 

It seems that this version of EG doesn't support github 2FA? Trying to close a repo with 2FA throws a

Cannot clone repository

Invalid user name or password. Please update your git profile with valid credentials.

And it works if you turn off 2FA on your github repo user.

 

Also, this version of EG still doesn't support SSH keys (for easy limit of access to specific repos and avoiding passwords)?

 

Do I need to use a dedicated github user without 2FA, to get be able to interact with the remote repo using git in EG 8.3, or is there another way to set this up? 

 

 

2 REPLIES 2
ChrisHemedinger
Community Manager

The solution here is to use a personal access token (PAT), which you define in GitHub. You can even assign a scope to it to limit the permissions.  The PAT acts just like a password -- but it can be easily revoked when needed without changing a password.  Here are a couple of slides from my SAS-Git webinar:

 

pat1.pngpat2.png

 

 

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1816 views
  • 1 like
  • 3 in conversation