Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7950517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:17:52+00:00 2026-06-04T02:17:52+00:00

I need to pull from Github all the time and I have a passphrase,

  • 0

I need to pull from Github all the time and I have a passphrase, but it’s a pain, so I typically run…

ssh-agent bash
ssh-add ~/.ssh/id_rsa
<prompt and give passphrase>

And that works for the session, but even after I logout, I would like it to save the passphrase next time I PuTTY in. So I installed keychain, but I’m too dumb to operate it. I tried this…

/usr/bin/keychain ~/.ssh/id_dsa

And it said it added my passphrase, but it didn’t work 🙁

How would I call keychain so it saves my passphrase for Git?

Edit: Apologies for posting this on stackoverflow, it technically does have some relevance to programming as it has to do with Git, but my apologies for not posting it on SuperUser.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T02:17:54+00:00Added an answer on June 4, 2026 at 2:17 am

    Okay this is the best I could come up with…

    Install keychain…

    Then add the following to ~/.bashrc file:

    eval `keychain --eval id_rsa`
    

    THEN add the following to ~/.bash_profile:

    ssh-agent bash
    

    That will start keychain. It isn’t as simple as just putting both in the bash profile or bashrc file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two different tables from which I need to pull data blogs which
I have the following query. It works just fine but I need to pull
Ok need some help here. I have an autocomplete setup to pull from a
I have a number that I need to pull from my html: <span>123,456.78</span> How
I need to pull data from an xls, I also need have the user
I need to pull data from one SQL 2005 Express database to another and
From a string, I need to pull out groups that match a given pattern.
I have a text source with nulls in it and I need to pull
I have been given a large quantity of Xml's where I need to pull
I have a directory with around 15-30 thousand files. I need to just pull

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.