Setting up screenshots in remote agent CLIs using SFTP and ShareX
04-05-2026
- https://github.com/ShareX/ShareX
- ShareX, open-source, powerful capture and upload utilities, easy to customsie
- download the exe or zip - https://github.com/ShareX/ShareX/releases/tag/v20.0.4
- sending screenshots to remove agent CLIs
- save to a local screenshot directory (using ShareX)
- send to a remote screenshot directory over SFTP (use a temp folder, cron job to remove old ones)
- snapshot with the timestamp and the application
- the clipboard returns the remote URL of the image (something like
/tmp/screenshots/20260101_103011_chrome.png)- paste the image into any agent CLI and ask it to parse the image