Hacker News new | ask | show | jobs
by scoates 5679 days ago
If: 1) macbook has ssh turned on 2) macbook's IP is routable (or forwarded via NAT), 3) server is able to log in to macbook (has private key, or you supply password, etc) 4) the pastboarde is available without a GUI (not sure that sshing to a macbook and issuing pbcopy will adjust the pasteboard of the user at the terminal)

For me, #1, #2, and #3 are false. #4 is unknown. A VPN would make 1,2,3 easier, though.

S

1 comments

This is what I use, though not as fancy.

mac$ ssh user@remote "some command" | pbcopy