FreeRDP/channels
Ben Cohen 0e90841a18 Forward ssh-agent data between ssh-agent and RDP
Add the sshagent plugin to forward the ssh-agent protocol over an RDP
dynamic virtual channel, just as the normal ssh-agent forwards it over
an SSH channel.  Add the "/ssh-agent" command line option to enable it.
Usage:

Run FreeRDP with the ssh-agent plugin enabled:

   xfreerdp /ssh-agent ...

In the remote desktop session run xrdp-ssh-agent and evaluate the output
in the shell as for ssh-agent to set the required environment variables
(specifically $SSH_AUTH_SOCK):

   eval "$(xrdp-ssh-agent -s)"

This is the same as for the normal ssh-agent.  You would typically do
this in your Xsession or /etc/xrdp/startwm.sh.

Limitations:

1. Error checking and handling could be improved.

2. This is only tested on Linux and will only work on systems where
clients talk to the ssh-agent via Unix domain sockets.  It won't
currently work on Windows but it could be ported.
2017-11-10 20:16:00 +00:00
..
audin Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
client Fixed clang malloc integer overflow warnings. 2017-07-20 09:29:48 +02:00
cliprdr Channels with a context must free it themselves. 2017-07-28 08:39:51 +02:00
disp fix string format specifiers 2016-12-16 13:48:43 +01:00
drdynvc Unified dynamic channel cleanup code. 2017-08-31 09:55:59 +02:00
drive Add checks for DR channel 2017-10-04 10:30:47 +02:00
echo Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
encomsp Channels with a context must free it themselves. 2017-07-28 08:39:51 +02:00
parallel fix string format specifiers 2016-12-16 13:48:43 +01:00
printer Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
rail Channels with a context must free it themselves. 2017-07-28 08:39:51 +02:00
rdpdr Merge pull request #4045 from akallabeth/drive_fixes_overlayfs 2017-09-22 17:22:00 +02:00
rdpei Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
rdpgfx Merge pull request #4053 from akallabeth/ffmpeg_encoder 2017-11-06 11:25:48 +01:00
rdpsnd Pause playback on queue empty, free buffers on close. 2017-10-05 12:05:09 +02:00
remdesk Channels with a context must free it themselves. 2017-07-28 08:39:51 +02:00
serial Added some checks for the serial redirection channel 2017-11-06 22:06:43 +01:00
server Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
smartcard Fixed clang malloc integer overflow warnings. 2017-07-20 09:29:48 +02:00
sshagent Forward ssh-agent data between ssh-agent and RDP 2017-11-10 20:16:00 +00:00
tsmf fix clang warnings, directly include wtypes.h (#4097) 2017-08-29 09:09:38 +02:00
urbdrc Disambiguate USB error messages and fix a typo 2017-11-06 22:09:01 +01:00
CMakeLists.txt cmake: replaced STATIC_CHANNELS with BUILTIN_CHANNELS 2016-06-15 13:36:27 +02:00