[{"data":1,"prerenderedAt":215},["ShallowReactive",2],{"project-34159062":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":37,"post_text":29,"what":40,"said":66,"maker_in_thread":137,"shape":141,"grid":144,"attempts":178,"same_week":179,"maker_shows":31,"maker_hidden":208,"reader_version":209,"card":210},"34159062","Pbproxy","Send your clipboard anywhere you can ssh","title","Show HN: Pbproxy – Send your clipboard anywhere you can ssh","https:\u002F\u002Fgithub.com\u002Fnikvdp\u002Fpbproxy","github.com","nikvdp",1672218754,2022,67,18,808,2570,32,"notable","dev_tools","clipboard utility","cli",[24,25,26,27],"clipboard","ssh","pbcopy","remote clipboard","quiet",null,{"positive":31,"neutral":31,"mixed":32,"critical":32},1,0,2,{"docs":35,"execution":36},{"positive":32,"critical":32},{"positive":31,"critical":32},[32,32,32,32,32,32,32,32,32,32,32,32,38,39,32,32,32,32,32],3,5,{"problem":41,"audience":29,"pricing":29,"motivation":56,"time_to_build":29,"stack":63,"openness":64,"stage":65,"team_size":65},{"value":42,"source":43,"evidence":44},"Getting clipboard contents between remote machines and a local clipboard over SSH","inferred",[45,49,53],{"id":46,"by":47,"text":48},"34165774","hamandcheese","There’s never a situation where I want to copy\u002Fpaste to any clipboard other than my local clipboard, so I solved this by simply aliasing pbcopy\u002Fpapaste to always SSH back to my…",{"id":50,"by":51,"text":52},"34165926","deathanatos","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…",{"id":54,"by":51,"text":55},"34169634","That 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…",{"value":57,"source":58,"evidence":59},"A small wrapper giving a consistent, remotely accessible interface to the system clipboard on Linux and Mac","maker",[60],{"id":61,"by":11,"text":62},"34159063","pbproxy is a small wrapper to give you a consistent and remotely accessible interface to your system clipboard on linux and mac.",[],"open_source","unknown",{"praise":67,"objections":80,"requests":89,"questions":90,"alternatives":98},[68],{"value":69,"source":70,"evidence":71},"Useful idea for remote clipboard access","commenter",[72,76],{"id":73,"by":74,"text":75},"34165681","codetrotter","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",{"id":77,"by":78,"text":79},"34167272","Noumenon72","Great idea! I'm not too skilled at SSH, can you share the alias?",[81],{"value":82,"source":70,"evidence":83},"Networking to reach a laptop behind NAT or changing IPs is hard without extra infrastructure",[84,85,88],{"id":50,"by":51,"text":52},{"id":86,"by":51,"text":87},"34169648","Wireguard 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…",{"id":54,"by":51,"text":55},[],[91],{"value":92,"source":70,"evidence":93},"How to set up the alias or access another machine's clipboard",[94,95],{"id":77,"by":78,"text":79},{"id":96,"by":11,"text":97},"34169151","how do you access another machine's clipboard with tmux?",[99,109,119,130],{"value":100,"source":70,"evidence":101},"Reverse SSH port forwarding",[102,106],{"id":103,"by":104,"text":105},"34168027","stock_toaster","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.",{"id":107,"by":47,"text":108},"34170305","Reverse port forwarding is exactly what I do. You can make it automatic for certain hosts using ssh_config.",{"value":110,"source":70,"evidence":111},"tmux send-buffer and set-buffer over ssh",[112,116],{"id":113,"by":114,"text":115},"34169124","ttyprintk","With tmux, shell aliases for tmux send-buffer and tmux paste can manually do this without dependencies.",{"id":117,"by":114,"text":118},"34173230","ssh -t that-machine tmux -s your-session show-buffer And | ssh -t tmux … set-buffer -",{"value":120,"source":70,"evidence":121},"Tailscale or WireGuard for stable addressing",[122,126],{"id":123,"by":124,"text":125},"34166667","atrus","Tailscale\u002FWireguard helps give consistent IPs",{"id":127,"by":128,"text":129},"34172242","dugmartin","Tailscale has “MagicDNS” that fixes the host name problem (for free) - https:\u002F\u002Ftailscale.com\u002Fkb\u002F1081\u002Fmagicdns\u002F",{"value":131,"source":70,"evidence":132},"clipshare for syncing clipboards between machines",[133],{"id":134,"by":135,"text":136},"34166237","HellsMaddy","I created a similar tool to help me synchronize my clipboard between my desktop and my laptop: https:\u002F\u002Fgithub.com\u002Fb0o\u002Fclipshare",{"comments":33,"answered":32,"key":138},[139,140],{"id":96,"text":97},{"id":61,"text":62},{"commenters":142,"max_depth":39,"maker_replies":33,"first_comment_mins":32,"lifespan_hours":143},12,66,[145,149,151,153,154,155,156,159,160,161,163,164,166,168,170,171,172,173,176],[146,32,32,147,148,32],"34166294","other\u002Fneutral\u002Fnone","notpushkin",[46,31,32,150,47,32],"commenter\u002Fneutral\u002Fidea",[50,31,32,152,51,32],"commenter\u002Fcritical\u002Fidea",[123,31,32,150,124,32],[86,31,32,152,51,32],[127,31,32,150,128,32],[157,31,32,150,158,32],"34166769","angrais",[54,31,32,152,51,32],[103,31,32,150,104,32],[162,31,32,150,51,32],"34169620",[107,31,32,150,47,32],[165,31,32,150,78,32],"34192953",[77,31,38,167,78,32],"maker\u002Fneutral\u002Fdocs",[73,33,39,169,74,32],"maker\u002Fpositive\u002Fexecution",[113,38,32,152,114,32],[96,38,32,150,11,31],[117,38,32,150,114,32],[134,174,32,175,135,32],4,"other\u002Fneutral\u002Fidea",[61,39,32,177,11,31],"project\u002Fneutral\u002Fidea",[],[180,184,188,193,198,203],{"id":181,"name":182,"points":183,"category":20},"34102363","GPT-3 Powered Shell",308,{"id":185,"name":186,"points":187,"category":20},"34147366","Dog API",275,{"id":189,"name":190,"points":191,"category":192},"34147825","Microfeed",265,"infrastructure",{"id":194,"name":195,"points":196,"category":197},"34100197","handlr.sapico.me",55,"productivity",{"id":199,"name":200,"points":201,"category":202},"34125869","EarlyBird",50,"web_saas",{"id":204,"name":205,"points":206,"category":207},"34110624","getHNFavorites",49,"consumer_social",false,"v2",{"id":211,"name":5,"line":6,"ai":208,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":212,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":213,"url":9,"mix":214,"praise":69,"objection":82,"sub":21},34159062,[24,25,26,27],"0000000000003500000",[31,31,32,32],1794036628881]