Pbproxy
Dev tools
clipboard utility
SHOW HN2022
67points
18comments
#808of 2,570 in 2022
Top 32%of 2022 by points
How HN took it
QuietFewer than 5 comments about the project
1 positive, 1 neutral or asking, 0 mixed, 0 critical, out of 2 comments about the project.
Execution: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful idea for remote clipboard access
From 2 comments
I saw your comment the other day where you talked about maybe putting this on GitHub. Very nice to see that you went ahead and did so :D
codetrotter on HNGreat idea! I'm not too skilled at SSH, can you share the alias?
Noumenon72 on HN
Objections
Networking to reach a laptop behind NAT or changing IPs is hard without extra infrastructure
From 3 comments
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…
deathanatos on HNWireguard is the same problem, just with a layer of indirection. (I've tried WG exactly to try to simplify the networking!) Now instead of SSH connecting, it's Wireguard. You can…
deathanatos on HNThat only adds a layer of indirection to the same problem. You can refer to your laptop by hostname, but something have to update the hostname's record when the laptop moves…
deathanatos on HN
Questions
How to set up the alias or access another machine's clipboard
From 2 comments
Great idea! I'm not too skilled at SSH, can you share the alias?
Noumenon72 on HNhow do you access another machine's clipboard with tmux?
nikvdp on HN
Alternatives named
Reverse SSH port forwarding
From 2 comments
Use a reverse port forward via ssh. ``` ssh -R 127.0.0.1:2210:127.0.0.1:22 user@somemachine ``` Of course you could instead add it to your ssh config along with agent forwarding.
stock_toaster on HNReverse port forwarding is exactly what I do. You can make it automatic for certain hosts using ssh_config.
hamandcheese on HN
tmux send-buffer and set-buffer over ssh
From 2 comments
With tmux, shell aliases for tmux send-buffer and tmux paste can manually do this without dependencies.
ttyprintk on HNssh -t that-machine tmux -s your-session show-buffer And | ssh -t tmux … set-buffer -
ttyprintk on HN
Tailscale or WireGuard for stable addressing
From 2 comments
Tailscale/Wireguard helps give consistent IPs
atrus on HNTailscale has “MagicDNS” that fixes the host name problem (for free) - https://tailscale.com/kb/1081/magicdns/
dugmartin on HN
clipshare for syncing clipboards between machines
From 1 comment
I created a similar tool to help me synchronize my clipboard between my desktop and my laptop: https://github.com/b0o/clipshare
HellsMaddy on HN