From 480a7a0a6c9a8fae5b8fc7b7688173d5e425ae0e Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 9 Nov 2012 12:31:43 +0100 Subject: Allow specifying a key file in putty format when starting a remote program Now plink is a real console application in the release build (no -console option anymore) --- xorg-server/hw/xwin/xlaunch/config.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xorg-server/hw/xwin/xlaunch/config.cc') diff --git a/xorg-server/hw/xwin/xlaunch/config.cc b/xorg-server/hw/xwin/xlaunch/config.cc index c7ac398fb..fc268e2e8 100644 --- a/xorg-server/hw/xwin/xlaunch/config.cc +++ b/xorg-server/hw/xwin/xlaunch/config.cc @@ -83,6 +83,7 @@ void CConfig::Save(const char *filename) setAttribute(root, "LocalProgram", localprogram.c_str()); setAttribute(root, "RemoteProgram", remoteprogram.c_str()); setAttribute(root, "RemotePassword", remotepassword.c_str()); + setAttribute(root, "PrivateKey", privatekey.c_str()); setAttribute(root, "RemoteHost", host.c_str()); setAttribute(root, "RemoteUser", user.c_str()); setAttribute(root, "XDMCPHost", xdmcp_host.c_str()); @@ -174,6 +175,7 @@ void CConfig::Load(const char *filename) getAttribute(root, "LocalProgram", localprogram); getAttribute(root, "RemoteProgram", remoteprogram); getAttribute(root, "RemotePassword", remotepassword); + getAttribute(root, "PrivateKey", privatekey); getAttribute(root, "RemoteHost", host); getAttribute(root, "RemoteUser", user); getAttribute(root, "XDMCPHost", xdmcp_host); -- cgit v1.2.3