Re:FreeRDP 2.0 – A Remote Desktop Protocol implementation
by gdrift on Saturday April 11, 2020 @02:25AM
(#22839989)
>it wants a file
Have you tried process substitution?
<(curl -s ipinfo.io/ip)
https://en.wikipedia.org/wiki/Process_substitution
Re:FreeRDP 2.0 – A Remote Desktop Protocol implementation
by squarefoot on Saturday April 11, 2020 @12:27PM
(#22842472)
Worked perfectly, thanks!
Something like this: curl --url 'smtps://smtp.gmail.com:465' --ssl-reqd --mail-from 'xyz remote IP' --mail-rcpt '[email protected]' --upload-file mail.txt --user '[email protected]:pwd'
Where rather than the mail.txt file I can send the public IP of the remote machine, such as the output of "curl ipinfo.io/ip". Unfortunately I couldn't find how to do that. Backquotes also don't work, it wants a file.
The purpose would be to build a "pre-command" one liner that sends me an email with the remote IP as payload every time the remote user accepts an external connection through remmina. The remote users are old relatives with no knowledge about computers, so the simpler (one click) the better.