通过SSH连接的Linux盒子:断开连接后暂停。
Linux boxes via SSH: suspended when disconected

原始链接: https://shellbox.dev/

## Shellbox:轻量级 SSH 实例 Shellbox 提供按需使用的轻量级 SSH 实例,配置 2 核 CPU、4GB 内存和 50GB SSD 存储。访问方式仅通过 SSH – 无需客户端或插件 – 实例会持久保存,暂停和恢复您的会话。 **主要特性:** * **经济实惠:** 按使用量计费,运行费用为每小时 0.05 美元,停止费用为每小时 0.005 美元,余额降至 5 美元时自动停止。 * **轻松访问:** 通过 `ssh shellbox.dev connect ` 连接。每个实例都获得一个带有自动 TLS 的公共 HTTPS URL。 * **完整 SSH 支持:** 包括端口转发和 `scp` 文件传输。 * **预付费且可退款:** 充值账户并可退还未使用额度。 **基本命令:** * `create `:创建新的实例。 * `list`:显示您的实例及其状态。 * `billing`:显示账户余额和使用情况。 * `funds `:向您的账户充值。 更多信息和支付选项请访问 [https://pay.paddle.com/...](https://pay.paddle.com/...) (如示例所示)。

## Shellbox.dev:通过SSH提供的暂停Linux盒子 - 摘要 Shellbox.dev 提供按需的Linux虚拟专用服务器(VPS),可通过SSH访问,并采用独特的计费模式:仅在盒子处于活动连接状态时付费。断开连接的盒子将以较低的费率“暂停”。该服务旨在简化易用性,避免传统VPS提供商的复杂性。 然而,Hacker News用户的初步反应对定价持怀疑态度。许多人指出,来自Hetzner等提供商的标准VPS选项,即使*包含*公共IP地址,对于24/7使用也更便宜。价值主张取决于显著较低的暂停成本和无摩擦的用户体验。 讨论集中在潜在的使用场景——例如,用于不频繁的任务或仅在需要时访问强大的硬件——以及与exe.dev和Fly的sprites等类似服务的比较。人们对潜在的滥用以及对健全安全措施的需求表示担忧。底层的技术栈使用Python、Firecracker用于虚拟机和Paddle用于计费,运行在裸机实例上。创建者正在考虑在进一步完善后开源该项目。
相关文章

原文
███████ ██   ██ ███████ ██      ██      ██████   ██████  ██   ██
██      ██   ██ ██      ██      ██      ██   ██ ██    ██  ██ ██
███████ ███████ █████   ██      ██      ██████  ██    ██   ███
     ██ ██   ██ ██      ██      ██      ██   ██ ██    ██  ██ ██
███████ ██   ██ ███████ ███████ ███████ ██████   ██████  ██   ██

$ ssh shellbox.dev

  • Lightweight instances: 2 vCPUs, 4GB RAM, 50GB SSD
  • Pure SSH access: no special clients or browser plugins required
  • Persistent state: boxes pause on disconnect and resume where you left off
  • Usage-based billing: $0.05/hr while running, $0.005/hr while stopped
  • Automatic cost control: boxes stop when balance falls below $5
  • HTTPS endpoints: every box gets a public URL with automatic TLS
  • Full SSH support including port forwarding and scp
  • Prepaid balance with refunds available for unused funds

$ ssh shellbox.dev create dev1

Creating box...

Box 'dev1' created successfully
URL: https://dev1-a1b2c3d4.shellbox.dev

Connect with: ssh -t shellbox.dev connect dev1

$ ssh -t shellbox.dev connect dev1

Starting box...
Connected!
root@dev1:~# _

$ ssh shellbox.dev list

NAME          STATE      URL
-----------------------------------------------------------------
dev1          running    https://dev1-a1b2c3d4.shellbox.dev
myapp         stopped    https://myapp-a1b2c3d4.shellbox.dev

$ ssh shellbox.dev billing

Account Balance
==============================
Funds added:     $30.00
Funds refunded:  $10.00
Usage costs:     $1.50
------------------------------
Current balance: $18.50

Remaining hours at current rates:
  Running boxes: ~370 hours
  Idle boxes:    ~3700 hours

$ ssh shellbox.dev funds 10

Add $10.00 to your account
========================================

█▀▀▀▀▀▀▀███▀████▀█▀▀▀██▀▀▀▀▀▀▀█
█ █▀▀▀█ █ ▄▄██▄ ▄▄ ▄▀ █ █▀▀▀█ █
█ █   █ █▀ ▀█ ██ ▄▀▀███ █   █ █
█ ▀▀▀▀▀ █ █ █ ▄ ▄ ▄ ▄▀█ ▀▀▀▀▀ █
█▀▀█▀██▀▀▄█▄ ▀█ ██▄▄▄██▀▀▀█▀▀██
█▄▄ ▀ ▀▀▀▀▄█  ▄▄█  ▄▀ █ ██ ▀▀▄█
██ ▄█▀▀▀▄ ▄  ▄ █▄█▀▄▀▀▀▀▄▄▀▄ ▀█
█▄  █▀▄▀▀█ ▀ █▀▀▄▀ ▀▄▀ █▄█▀▀▀▀█
██▀▀   ▀ ▄█▀▄▀ ▄▄▄ ▄  ▀▄▀█▄█ ██
█▀▄▀▄▀█▀▄██▄▀ █▀█▄█▄█▀▀  █▄█▀ █
█▀██▀█ ▀█   █▄▀▀ █▄█▄▀▀ ▀▀█▀▄▄█
█▀▀▀▀▀▀▀█   ▄█▄▀██ ▀▄ █▀█ █▄ ▄█
█ █▀▀▀█ ██▀▄█▀▄██▄▀▄█ ▀▀▀ ▄▄█▄█
█ █   █ █▄▄ ▄ █▄██▀▀ █▀▄█   ▄▀█
█ ▀▀▀▀▀ █ ██▀   ▀  ▀█ ██▀ ██ ██
███████████████████████████████

https://pay.paddle.com/...

Scan QR code or visit URL to complete payment.
Your account will be credited automatically.

$ ssh shellbox.dev help

Command Description
create <name> Create a new box
list List your boxes with status and URLs
connect <name> Connect to a box (use ssh -t)
delete <name> Permanently remove a box
billing Show balance and usage
funds <amount> Add funds to your account
refund <amount> Refund unused balance
payments Show payment history

$ # file transfer:

$ scp -O file.txt shellbox.dev:dev1:/root/

$ scp -O shellbox.dev:dev1:/root/file.txt ./

联系我们 contact @ memedata.com