[{"data":1,"prerenderedAt":280},["ShallowReactive",2],{"project-42593135":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":35,"aspects":36,"strip":43,"post_text":45,"what":46,"said":68,"maker_in_thread":165,"shape":175,"grid":180,"attempts":242,"same_week":243,"maker_shows":44,"maker_hidden":272,"reader_version":273,"card":274},"42593135","beam","An SSH based utility to transfer pipes across machines – beam","title","Show HN: An SSH based utility to transfer pipes across machines – beam","https:\u002F\u002Fgithub.com\u002Fksdme\u002Fbeam","github.com","ksdme9",1735975624,2025,28,31,1710,3837,45,"shown","infrastructure","remote file transfer","cli",[24,25,26,27],"ssh pipe","file transfer","ssh proxy","stream transfer","curious",-0.273,{"positive":31,"neutral":32,"mixed":33,"critical":34},2,13,0,7,22,{"privacy":37,"idea":38,"docs":40,"design":41},{"positive":33,"critical":31},{"positive":33,"critical":39},5,{"positive":33,"critical":33},{"positive":42,"critical":33},1,[42,33,42,44,44,44,33,44,33,42,33,44,42,33,39,44,44,33,44,39,33,44,42,44,44,44,44,42,33,42,33],3,"Hey HN,\n\nAt work, I was annoyed about having to download logs by writing them out to files and transferring them over to my local over HTTP (admittedly, this is because of a rather novel architectural situation).\n\nSo, I built a tool in Go that lets you pipe contents into an SSH server for sending and reading them out on another connection. You can also use this tool to transfer files. Just cat the file on the sender end and redirect the output of the receiver end to a file.\n\nPlease note that the transfer rate is heavily dependent on your connection and proximity to the public ssh.beam.camp hos",{"problem":47,"audience":56,"pricing":56,"motivation":57,"time_to_build":56,"stack":61,"openness":66,"stage":67,"team_size":66},{"value":48,"source":49,"evidence":50},"Transferring logs or files from machines you cannot easily reach or configure over SSH","maker",[51,53],{"id":52},"post",{"id":54,"by":11,"text":55},"42593931","This is meant for cases when the machines are isolated, for example, when you attach to a remote container and want to download a file from it to your machine.",null,{"value":58,"source":49,"evidence":59},"Annoyed at downloading logs via files and HTTP at work",[60],{"id":52},[62],{"value":63,"source":49,"evidence":64},"Go",[65],{"id":52},"unknown","launched",{"praise":69,"objections":81,"requests":107,"questions":125,"alternatives":133},[70],{"value":71,"source":72,"evidence":73},"Simple two-command setup with no binary to install","commenter",[74,78],{"id":75,"by":76,"text":77},"42594683","moralestapia","No, because you have to install more crap. This thing is \"already there\" and it takes two commands. I like it a lot, tbh.",{"id":79,"by":76,"text":80},"42594749","@kdsme9 I think this is great and you've done a great work putting it together and sharing it with us for free. Using the public key to match streams on both ends is super…",[82,97],{"value":83,"source":72,"evidence":84},"Little advantage over ProxyJump or plain piping through SSH",[85,89,93],{"id":86,"by":87,"text":88},"42593758","f-az","After reading the readme I’m confused what the advantage is over just regular piping. ‘’’ command-on-server1 | ssh user@server2 'command-on-server2' ‘’’",{"id":90,"by":91,"text":92},"42593952","eqvinox","I don't see any advantage over plain \"-o 'ProxyJump box.in.the.middle'\"? I guess this is supposed to buffer things? But then again, that's what \"tail -f\" is for… More confused…",{"id":94,"by":95,"text":96},"42593963","alanfranz","But if you have ssh clients on both machines, you can use port forwarding to allow machine2 to connect to machine1 via ssh. Or you can connect both machines to the \"SSH stun…",{"value":98,"source":72,"evidence":99},"Sending files through a public host raises privacy concerns",[100,104],{"id":101,"by":102,"text":103},"42593847","Darkskiez","This is a great way to send all of your files to the author of the utility \u002F operator of the website.",{"id":105,"by":76,"text":106},"42594678","Yeah, as with literally every other service in the web for the past 20 years.",[108,118],{"value":109,"source":72,"evidence":110},"Document the use case more clearly in the readme",[111,115],{"id":112,"by":113,"text":114},"42593833","hnlmorg","That’s not clear in the readme. It might be worth explicating stating that this uses the SSH protocol but is designed to work on hosts that either dont have OpenSSH enabled or…",{"id":116,"by":11,"text":117},"42593889","Thanks, makes sense. I'll update the readme.",{"value":119,"source":72,"evidence":120},"Support automatic connection to the closest host",[121],{"id":122,"by":123,"text":124},"42594020","CGamesPlay","It would be great for beam.ssh.camp to implement this (which would require no software, just configuring OpenSSH).",[126],{"value":127,"source":72,"evidence":128},"Why not just ssh to the machine and use tail",[129],{"id":130,"by":131,"text":132},"42593877","whatever1","Huh? Why I cannot just ssh from machine 2 to machine 1 and just type `tail`?",[134,144,151,158],{"value":135,"source":72,"evidence":136},"magic-wormhole and portal",[137,141],{"id":138,"by":139,"text":140},"42594305","lathiat","Maybe better to use something like magic wormhole? https:\u002F\u002Fgithub.com\u002Fmagic-wormhole\u002Fmagic-wormhole",{"id":142,"by":11,"text":143},"42594384","Yup, wormhole and portal are better in most aspects. Beam is helpful when you have novel constraints like not being able to install arbitrary binaries, or if you have the need to…",{"value":145,"source":72,"evidence":146},"socat over an SSH proxy",[147],{"id":148,"by":149,"text":150},"42593839","unsnap_biceps","I think a fully equivalent would be to use socat On Receiving Server ``` ssh user@proxy socat UNIX-RECVFROM:\u002Ftmp\u002Ffoobar - ``` And then on sending server ``` .\u002Ffoobar | ssh…",{"value":152,"source":72,"evidence":153},"ssh-j.com",[154],{"id":155,"by":156,"text":157},"42595675","remram","This seems very similar to ssh-j.com (open source: https:\u002F\u002Fbitbucket.org\u002FValdikSS\u002Fdropbear-sshj)",{"value":159,"source":72,"evidence":160},"pipe.pico.sh",[161],{"id":162,"by":163,"text":164},"42598296","ilyagr","I have used https:\u002F\u002Fpipe.pico.sh\u002F for this. pico.sh also has a bunch of other SSH-accessible services, e.g. pastes, and paid (or free if self-hosted) port tunneling.",{"comments":166,"answered":39,"key":167},9,[168,171,174],{"id":169,"text":170},"42593888","From the readme, > Beam cannot support end-to-end encrypted buffers. While data is encrypted during transfer to and from the Beam host, it’s decrypted temporarily before being…",{"id":172,"text":173},"42593821","Beam lets you do what you described even when both the machines are isolated and not reachable from one another. All you need is ssh clients on both the machines.",{"id":116,"text":117},{"commenters":176,"max_depth":177,"maker_replies":166,"first_comment_mins":178,"lifespan_hours":179},18,4,143,15,[181,183,185,186,188,191,193,194,196,198,200,203,204,205,206,208,209,212,215,217,219,222,224,225,228,230,231,234,236,237,240],[101,33,42,182,102,33],"project\u002Fcritical\u002Fprivacy",[169,33,33,184,11,42],"project\u002Fneutral\u002Fprivacy",[105,33,42,182,76,33],[86,42,44,187,87,33],"project\u002Fneutral\u002Fidea",[189,42,44,187,190,33],"42593780","fulafel",[192,42,44,184,156,33],"42595603",[172,42,33,187,11,42],[112,42,44,195,113,33],"project\u002Fneutral\u002Fdocs",[116,42,33,197,11,42],"maker\u002Fneutral\u002Fdocs",[94,42,42,199,95,33],"project\u002Fcritical\u002Fidea",[201,42,33,202,11,42],"42594244","commenter\u002Fneutral\u002Fidea",[148,42,44,187,149,33],[138,31,42,199,139,33],[142,31,33,187,11,42],[75,31,39,207,76,33],"project\u002Fpositive\u002Fdesign",[155,44,44,187,156,33],[210,177,44,195,211,33],"42593795","rzzzt",[213,177,33,214,11,42],"42593803","project\u002Fneutral\u002Fnone",[216,177,44,195,211,33],"42593840",[79,39,39,218,76,33],"maker\u002Fpositive\u002Fnone",[220,39,33,221,11,42],"42595937","commenter\u002Fpositive\u002Fnone",[162,223,44,187,163,33],6,[90,34,42,199,91,33],[226,34,44,195,227,33],"42593996","pacifika",[229,34,44,187,123,33],"42594047",[122,34,44,187,123,33],[232,34,44,187,233,33],"42594035","rakoo",[130,235,42,199,131,33],8,[54,235,33,187,11,42],[238,235,42,199,239,33],"42593967","philipwhiuk",[241,235,33,187,11,42],"42594301",[],[244,249,254,259,264,268],{"id":245,"name":246,"points":247,"category":248},"42634787","Atlas of Space",770,"learning_science",{"id":250,"name":251,"points":252,"category":253},"42624116","Tramway SDK",660,"games",{"id":255,"name":256,"points":257,"category":258},"42585009","Pimosa",526,"creative",{"id":260,"name":261,"points":262,"category":263},"42635942","Stagehand",326,"dev_tools",{"id":265,"name":266,"points":267,"category":263},"42600586","CSS Flexbox Playground",315,{"id":269,"name":270,"points":271,"category":263},"42623593","HipScript",309,false,"v2",{"id":275,"name":5,"line":6,"ai":272,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":276,"top":18,"kw":277,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":278,"url":9,"mix":279,"praise":71,"objection":83,"sub":21},42593135,-0.27,[24,25,26,27],"1013330301031053303503133331010",[31,32,33,34],1793991108847]