Support ssh-agent socket update when reconnecting to an existing session
Bug #424522 reported by
Mathias Gug
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Wishlist
|
Dustin Kirkland | ||
byobu (Ubuntu) |
Fix Released
|
Wishlist
|
Dustin Kirkland |
Bug Description
When reconnecting to an existing byobu session the ssh agent socket is not updated correctly.
See [1] for an fix:
Changed in byobu (Ubuntu): | |
status: | New → In Progress |
Changed in byobu: | |
status: | Triaged → In Progress |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in byobu (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
importance: | Undecided → Wishlist |
Changed in byobu: | |
status: | In Progress → Fix Committed |
Changed in byobu (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Okay, so to fix this we need to do two things...
We need the following in ~/.profile agent-$ USER-screen"
test $SSH_AUTH_SOCK && ln -sf "$SSH_AUTH_SOCK" "/tmp/ssh-
And we need the following in the byobu/screen configuration: agent-$ USER-screen"
setenv SSH_AUTH_SOCK "/tmp/ssh-
This is something I'm going to want to get a second opinion on, from someone on the security team before committing. At the very least, we can document this in Launchpad Answers if we can't solve it in byobu.
:-Dustin