https://bugzilla.mindrot.org/show_bug.cgi?id=1809
Summary: ssh-agent doesnt respect $TMPDIR Product: Portable OpenSSH Version: 5.6p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh-agent AssignedTo: unassigned-b...@mindrot.org ReportedBy: vap...@gentoo.org Created attachment 1913 --> https://bugzilla.mindrot.org/attachment.cgi?id=1913 openssh-ssh-agent-tmpdir.patch the ssh-agent program hardcodes the /tmp/ path: if (agentsocket == NULL) { /* Create private directory for agent socket */ strlcpy(socket_dir, "/tmp/ssh-XXXXXXXXXX", sizeof socket_dir); this doesnt respect a user's TMPDIR preference and can obviously break if /tmp/ is screwed up (full/whatever), but TMPDIR is pointing to a usable location. here is an untested patch, but looks straight forward to me :p -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs