]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Provide a Unix port of Pageant.
authorSimon Tatham <anakin@pobox.com>
Tue, 5 May 2015 19:16:23 +0000 (20:16 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 5 May 2015 19:16:23 +0000 (20:16 +0100)
commitc52108234b62b388efbd44447dc2e572fbd16240
tree65b475921f17623821bac962eddca8d3698b4fa0
parent76e2ffe49d55f2cb805f4a5650f589e22b3d0f17
Provide a Unix port of Pageant.

This is much more like ssh-agent than the Windows version is - it sets
SSH_AUTH_SOCK and SSH_AGENT_PID as its means of being found by other
processes, rather than Windows Pageant's approach of establishing
itself in a well-known location. But the actual agent code is the same
as Windows Pageant.

For the moment, this is an experimental utility and I don't expect it
to be useful to many people; its immediate use to me is that it
provides a way to test and debug the agent code on Unix, and also to
use the agent interface as a convenient way to exercise public key
functions I want to debug. And of course it means I can be constantly
using and testing my own code, on whatever platform I happen to be
using. In the further future, I have a list of possible features I
might add to it, but I don't know which ones I'll decide are
worthwhile.

One feature I've already put in is a wider range of lifetime
management options than ssh-agent: the -X mode causes Pageant to make
a connection to your X display, and automatically terminate when that
connection closes, so that it has the same lifetime as your X session
without having to do the cumbersome trick of exec()ing the subsequent
session-management process.
Recipe
unix/uxpgnt.c [new file with mode: 0644]