RDP Link Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Enables you to create links that automagically generate and open Remote Desktop Connection configurations.

Last updated on
2007-08-01
Provides
Syntax
Repository
Source

Tagged with links, rdp

Background

After using and falling in love with DokuWiki and it's elegant simplicity and extensibility, I found myself wanting to be able to create links in my Wiki pages that I could click on and immediately Remote Desktop into a server. There wasn't anything out there (that I could find), so I created this plugin.

Installation

This plugin is now hosted at GitHub, code has been removed from this page (but still available in “Old Revisions”):

https://github.com/justinshepard/rdplink

Feel free to submit pull requests for bugfixes or enhancements and I'll do my best to get them vetted and merged quickly. –Justin

Syntax

{rdplink:SERVERNAME|TITLE}
{rdplink:SERVERNAME}
  • SERVERNAME is the IP or DNS address of the server you want to connect to.
  • TITLE is the “pretty name” of the link. If none is specified, the server name will be used.

Additional you can enter the usercredentials (or just part of them) too:

{rdplink:SERVERNAME&domain=MYDOMAIN&username=MYUSERNAME&password=PASSSTRING|TITLE}

PASSSTRING must be pre-encrypted (if you create your own Windows Program, use AES via Microsoft crypt32.dll), or use one like Remko's RDP PW Encrypter

There is a password encryption utility included in the plugin package, along with source code for the command-line version.

Known Issues

If you find that the <?=…?> lines don't parse for you, change them to <?php … ?> and it should work.

Suggestions for Improvement


from Alex Bailey - alex[dot]bailey[at]interfacia[dot] co.uk

I had to alter the last 2 lines as follows to make it work otherwise the server name was not inserted into the RDP file content. The blank line before “domain” was necessary and I think this parameter is not used anyway. I've never written any PHP before but I had a good guess at fixing it!

full address:s:<?php echo $_GET['server']?>
 
domain:s:<?php echo $_GET['domain']?>

from [[gut.kevin@gmail.com]]

Some Remote Desktop clients need a file with Windows Line Breaks, so instead of

<?php echo $_GET['server'] . "\n"?>

use

<?php echo $_GET['server'] . "\r\n"?>

for all fields and it should work.


plugin/rdplink.txt · Last modified: 2012/02/07 13:43 by 195.35.72.172
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate