4 ms·
Can't this be achieved just using ssh instead of setting up a process that listens to the network? from remote machine: ssh me@macbook pbcopy < foo.txt
by pielud 16y ago
Can't this be achieved just using ssh instead of setting up a process that listens to the network?
from remote machine:
ssh me@macbook pbcopy < foo.txt
- scoates 16y agoIf: 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
- greyboy 16y agoThis is what I use, though not as fancy. mac$ ssh user@remote "some command" | pbcopy