Live data from Hacker News

Show HN: Pbproxy – Send your clipboard anywhere you can ssh

github.com

1–10 of 22 posts

Re: Show HN: Pbproxy – Send your clipboard anywhere you can ssh

#5

There’s never a situation where I want to copy/paste to any clipboard other than my local clipboard, so I solved this by simply aliasing pbcopy/papaste to always SSH back to my mac and run pbcopy/pbpaste there.

But "where" is your mac? I.e., `cat clipboard | ssh ??? pbcopy`. I travel, so I don't always have the same IP address, and it's still too common to end up in a NAT'd hellscape with no usable IP. (Every office I've ever worked in, with one exception, has have v4-only NAT'd networks. Usually on a -PSK Wifi. Corp network infra is typically a joke.)

One could perhaps set something up to forward a connection to a local daemon and then use that forwarded connection to push data backwards, but the complexity is going up, and fast.

Re: Show HN: Pbproxy – Send your clipboard anywhere you can ssh

#8

There’s never a situation where I want to copy/paste to any clipboard other than my local clipboard, so I solved this by simply aliasing pbcopy/papaste to always SSH back to my mac and run pbcopy/pbpaste there.

But "where" is your mac? I.e., `cat clipboard | ssh ??? pbcopy`. I travel, so I don't always have the same IP address, and it's still too common to end up in a NAT'd hellscape with no usable IP. (Every office I've ever worked in, with one exception, has have v4-only NAT'd networks. Usually on a -PSK Wifi. Corp network infra is typically a joke.) One could perhaps set something up to forward a connection to a local da…

Tailscale/Wireguard helps give consistent IPs

Re: Show HN: Pbproxy – Send your clipboard anywhere you can ssh

#9

There’s never a situation where I want to copy/paste to any clipboard other than my local clipboard, so I solved this by simply aliasing pbcopy/papaste to always SSH back to my mac and run pbcopy/pbpaste there.

But "where" is your mac? I.e., `cat clipboard | ssh ??? pbcopy`. I travel, so I don't always have the same IP address, and it's still too common to end up in a NAT'd hellscape with no usable IP. (Every office I've ever worked in, with one exception, has have v4-only NAT'd networks. Usually on a -PSK Wifi. Corp network infra is typically a joke.) One could perhaps set something up to forward a connection to a local da…

Would it be possible to use hostnames rather than IP addresses then you'd not have to worry as the resolution would be done for you?
Post reply on HN