diff options
author | Ben Cohen <ben-cohen@users.noreply.github.com> | 2017-09-03 20:54:38 +0100 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2017-10-17 14:34:25 +0900 |
commit | 1d5aa8cc977f278f30bbc01105bf7ff66cd49596 (patch) | |
tree | 8fab3fb15fec2550738dd637cdf9939c92539ec3 /tests | |
parent | 2411a0be14e0e4b9d3a486b514c2a96349c15427 (diff) | |
download | xrdp-proprietary-1d5aa8cc977f278f30bbc01105bf7ff66cd49596.tar.gz xrdp-proprietary-1d5aa8cc977f278f30bbc01105bf7ff66cd49596.zip |
Forward ssh-agent data between ssh clients and RDP
Add xrdp-ssh-agent.c which forwards ssh-agent protocol over an RDP
dynamic virtual channel, just as the normal ssh-agent forwards it over
an SSH channel.
Usage:
Run an RDP client with the corresponding plugin enabled; for example
"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 stays running when the xrdp session closes. This should be
fixed using a command line argument as for the real ssh-agent.
3. 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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions