Top
Best
New

Posted by messh 20 hours ago

Linux boxes via SSH: suspended when disconected(shellbox.dev)
247 points | 136 commentspage 2
raphinou 8 hours ago|
I could imagine using this to access a beefier machine besides my main work computer. But indeed paying for stopped VM is difficult to sell. There was a suggestion to propose pre installed tools in different images which I find a good idea. Otherwise the workflow all by ssh is cool!
gvldev 18 hours ago||
I've been trying to come up with a hypothetical use case for this. I can't use this as a server without keeping an active session right? I wonder if you could get around this by sshing into itself from inside the primary session. Is that an edge case you've considered?
messh 18 hours ago||
This is a feature I want to implement: an option to keep boxes running while disconnected. Maybe with something like

ssh shellbox.dev keepalive box1

gvldev 18 hours ago||
Maybe this and other future extended features could be configured via some host-accessible mounted conf.d? Otherwise if I forget to use that command on every login, I might just forget, logout, and go on thinking my server is still running.
messh 18 hours ago||
The feature can be discussed here: https://github.com/skariel/shellbox.issues/issues/3
kelnos 17 hours ago||
For this use case, why wouldn't you just instead run a VPS on AWS or some cheaper platform?
indigodaddy 15 hours ago||
You definitely should
WhyNotHugo 17 hours ago||
Cool idea, but where's the "sign up" button?

Trying to use any of the commands in the home page, I just see "hugo@shellbox.dev: Permission denied (publickey).". Clearly I have to register first, but there's no clue as to how.

messh 17 hours ago|
You are missing an ssh key. Run this first:

ssh-keygen -t ed25519

newman314 12 hours ago||
There is no support for ed25519 host keys (confirmed using ssh-audit). Would be nice to have though.

As an aside, you should use ssh-audit to get recommendations for what to disable as far as less than ideal options/configs go.

zinodaur 17 hours ago||
Love this idea! Started building a version of it a while ago, but gave up because my resume time was too slow

My job has their own DCs, but inexplicably hosts devboxes in EC2 - an autosuspend feature for cost savings sounds awesome.

Feature request: let me give you a Dropbox folder to persist/load my suspended vms from/to, that way i dont get charged for storage when not using it, and i can walk away whenever i want

indigodaddy 15 hours ago|
The Dropbox idea sounds super interesting
bks 15 hours ago||
What a brilliant billing and account interaction interface. I legitimately wanted to build something like this for a transactional SMS provider where it would all be provisioned, managed, configured on the CLI. Do you have any tips on how you built this out so elegantly?
varenc 13 hours ago|
Would love a SMS provider that was simple to use. Have used twilio in the past and every time I come back it, it feels like they've added yet another layer of abstraction to the process.

But I suspect that spam and abuse means that becoming an SMS customer is going to have to be complex. Though just the ability to automate SMS msgs to a few pre-defined and verified numbers would be valuable and negate spam risk.

theykk 16 hours ago||
I made something similar last week using rust. It uses docker container with bunch of tool pre loaded. if anyone interested source code https://github.com/TheYkk/agentman
yjftsjthsd-h 18 hours ago||
> Note: The -O flag is required for OpenSSH 9.0+ to use legacy SCP protocol.

Why isn't SFTP supported?

messh 18 hours ago|
WIP, this is still in MVP phase...
vagab0nd 15 hours ago||
I'm curious: what's the use case? Usually when I need a server I need it to stay on and have a public IP.
behnamoh 15 hours ago|
I wish runpod.io and others had this feature. I've forgotten to stop my pods a few times and only learnt about it when my balance became $0.
littlecranky67 18 hours ago||
Not sure about the security sandbox, but given that paddle.com (your payment provider) takes 5% cut you could consider accepting lightning (bitcoin layer2) payments. QR code generation for lightning invoice is instantaneous just as payment, and will cost less than 0.1% fee (payer pays fee anyway). But the security sandbox should be solid, else it will be used for illegal stuff.
znpy 17 hours ago|
> you could consider accepting lightning (bitcoin layer2) payments.

uh? i lost interest in bitcoin a few years ago, did bitcoin get actually usable for payments ?

kelnos 17 hours ago||
Not really. I mean, I guess the lightning stuff makes it settle/confirm faster than doing an on-chain transaction, but bitcoin as a store of value is still essentially gambling. So you'd want to immediately sell it and convert it to USD (or a stable coin, I guess), and presumably you're incurring fees at whatever exchange you're using.

5% for paddle does sound like it kinda sucks, but I feel like any lower fee you'd end up paying with bitcoin would get eaten up by complexity, annoyance, and currency conversion risk.

nh2 14 hours ago|||
> 5% for paddle does sound like it kinda sucks

Don't underestimate the benefit of it doing international VAT collection and payment. Especially for small amounts.

littlecranky67 17 hours ago|||
lightning also works for USDT, if you prefer that.
gildenFish 16 hours ago|
Looks cool. You probably need a fyi or faq indicating that how the account system works.
More comments...