6

I am working in a very strict enviroment where I only have access to a remote computer via RDP and it is impossible for me to enable SSH or SFTP etc on the other computer. I CAN connect to the computer through FreeRDP however as far as I know this is only useful in order to enable you just launch a display.

Basically my question is there an option that I can feed into FreeRDP so that I can execute a single command on the remote desktop without a need for a display.

Is there a way to Use/Hack FreeRDP to use it LIKE SSH

Thank you in advance.

1 Answer 1

2

Maybe you can use freerdp via xvfb (fake xserver display).  It simulates an X display and runs app without screen drawings:

xvfb-run xterm -e /bin/bash -c "ping -c4 localhost > /tmp/out.txt"

Also scripting freerdp:

https://warroom.rsmus.com/scripting-rdp/

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.