I often run coding agents inside a remote SSH session from iTerm2 on my Mac.
The annoying part was not text input. It was screenshots.
The screenshot is on my local Mac clipboard, but the coding agent is running inside a remote SSH terminal.
So the normal flow became:
screenshot → save file → scp somehow → copy remote path → return to the agent → paste path






