Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[farmshare-discuss] Leaving ssh-agent to run in the background?

Jaeho Shin Jaeho.Shin at Stanford.EDU
Tue Jan 13 22:45:37 PST 2015

Hi Dan, is an alias to a set of machines and you're not guaranteed to connect to the same one upon subsequent logins.  The ssh-agent is probably running, but on a different machine than the one you logged in to the last time.

You can let your students pick their favorite number, e.g., 12, and use instead of the load balanced alias.  This way, they will be able to always login to the same machine that has the ssh-agent process running, but may get stuck in a busy machine.

In this particular case, I think you may want to let them access GitHub via HTTPS with Personal Access Tokens.  They can store their generated token in ~/.netrc and essentially have the same thing to the ssh key setup.  It seems this feature isn't explicitly documented, but all you need is a line in ~/.netrc with the token generated from GitHub settings page.  In fact, this may be even simpler than the ssh key setup.  Here are some useful links:


> On Jan 13, 2015, at 21:49 , Dan Nguyen <dun at> wrote:
> I've been having my students generate a keypair on to authenticate with their Github accounts using this process:
> The authentication process works...but after logging out and logging back in, it seems we have to manually restart the ssh-agent again and add the key to it. I'm not knowledgeable about the details of this authentication besides how it works on my own laptop, so I wanted to check if it might be just the way things are set up on afs?
> Thanks,
> Dan
> _______________________________________________
> farmshare-discuss mailing list
> farmshare-discuss at

More information about the farmshare-discuss mailing list