rdesktop is an open source client for Remote Desktop Protocol (RDP) that allows a local computer to connect to a Windows Lighthouse instance. This document describes how to use it to upload files from a Linux computer to a Lighthouse instance with the Windows Server 2012 R2 operating system.
You have obtained the Lighthouse instance admin account and password.
Log in to the Lighthouse console and get the public IP of the target Lighthouse instance on the Instances page.
If you want to install the latest version, visit the rdesktop page on GitHub to find it. Then replace the path in the command with that of the latest version.
2. Run the following commands to decompress the installation package and enter the directory.
tar xvzf rdesktop-1.8.3.tar.gz
rdesktop Lighthouse instance public IP -u Lighthouse instance account -p Lighthouse instance login password -r disk:Specified shared folder name=Local folder path
For example, run the following command to share the
/home folder on your local Linux computer with the specified Lighthouse instance, and rename it as
rdesktop 118.xx.248.xxx -u Administrator -p 12345678 -r disk:share=/home
If the operation is successful, the Windows desktop will appear.
Click in the lower-left corner and select My Computer to see a list of shared folders as shown below:
sharefolder to the C drive of the Windows Lighthouse instance.
To download files from the Windows Lighthouse instance to your computer, you only need to copy desired files from the instance to a shared folder.