This is so cool! Just imagine a world where you can run `getcoffee latte` and have a latte show up at your door 20 minutes later.
New startup sells coffee through SSH
61–70 of 430 posts
Re: New startup sells coffee through SSH
#62I'm curious how they built this. It's SSH but the IP address is Cloudflare's edge network. It could be using CF Tunnel to transparently route all the SSH sessions to some serving infrastructure, but I didn't know you could publicly serve arbitrary TCP ports like that. Building it in serverless fashion on CF Workers would be ideal for scalability, but those don't accept incoming TCP connections.
Re: New startup sells coffee through SSH
#63Earlier quoted context omitted.
Nice. I was wondering if this had been done somewhere before. "Sony plans to integrate the pizza function more tightly into the game", which every game should do, of course :)
Game programmers: it’s a video game, we don’t need the same kind of application security that other programs do Hacker: Hold my beer while I exploit this dude’s game client and makes it order 10,000 pizzas to his door
Unless you don't have 10,000 hungry friends.
Re: New startup sells coffee through SSH
#64One safety tip: disable SSH Agent Forwarding before you connect, otherwise the remote server can theoretically reuse your private key to establish new connections to GitHub.com or prod servers (though this host is unlikely malicious). https://www.clockwork.com/insights/ssh-agent-hijacking/ (SSH Agent Hijacking)
Re: New startup sells coffee through SSH
#65It's sold out and the only option if you actually connect via ssh is to give them your email address so they can send you updates.
Re: New startup sells coffee through SSH
#66Ah lame, they won't even let you browse since they're sold out.
Edit: somebody was able to order coffee through them (see below).
Re: New startup sells coffee through SSH
#67One safety tip: disable SSH Agent Forwarding before you connect, otherwise the remote server can theoretically reuse your private key to establish new connections to GitHub.com or prod servers (though this host is unlikely malicious). https://www.clockwork.com/insights/ssh-agent-hijacking/ (SSH Agent Hijacking)
*disable ssh agent FORWARDING. Which honestly should always be disabled. There are no trusted hosts.
Just use ssh-add -c to have the ssh-agent confirm every use of a key.
Re: New startup sells coffee through SSH
#68I'm curious how they built this. It's SSH but the IP address is Cloudflare's edge network. It could be using CF Tunnel to transparently route all the SSH sessions to some serving infrastructure, but I didn't know you could publicly serve arbitrary TCP ports like that. Building it in serverless fashion on CF Workers would be ideal for scalability, but those don't accept incoming TCP connections.
> Cloudflare Tunnel can connect HTTP web servers, SSH servers, remote desktops, and other protocols safely to Cloudflare.
https://developers.cloudflare.com/cloudflare-one/connections...
> In addition to HTTP, cloudflared supports protocols like SSH, RDP, arbitrary TCP services, and Unix sockets.
https://developers.cloudflare.com/cloudflare-one/connections...
Re: New startup sells coffee through SSH
#69I'm curious how they built this. It's SSH but the IP address is Cloudflare's edge network. It could be using CF Tunnel to transparently route all the SSH sessions to some serving infrastructure, but I didn't know you could publicly serve arbitrary TCP ports like that. Building it in serverless fashion on CF Workers would be ideal for scalability, but those don't accept incoming TCP connections.
[1]: https://developers.cloudflare.com/workers/reference/protocol...
Re: New startup sells coffee through SSH
#70> ssh terminal.shop "register foo $pubkey"
> ssh foo@terminal.shop "set shipping address to $addr, credit card info $info, email address $email"
> ssh foo@terminal.shop "order one 12oz light roast"