on-internet
← Community

How to send data to local clipboard from a remote SSH session [closed]

Stack Overflow ·

Most Unix-like systems have a command that will let you pipe/redirect output to the local clipboard/pasteboard, and retrieve from same. On OS X, these commands are pbcopy, pbpaste Is there a way to replicate this functionality while SSHed into another server? That is, I'm using Computer A. I open a terminal window I SSH to Computer B I run a command on Computer B The output of Computer B is redirected or automatically copied to Computer A's clipboard. And yes, I know I could just (shudder) use my mouse to select the text from the command, but I've gotten so used to the workflow of pipping outp

Comments

Sign in or sign up to comment and upvote.

No comments yet.