All posts

My laptop froze mid-deploy, but my Mosh session never let go.

When you’re working with AWS CLI-style profiles over unstable connections, Mosh changes the game. No more losing your spot when you switch networks or your VPN blinks out. Your shell stays alive, your context stays intact, and your AWS profiles remain ready to run aws s3 sync or aws ec2 describe-instances without a hitch. AWS CLI profiles let you manage multiple accounts and credentials without retyping keys or exporting variables every time. You define them once in ~/.aws/credentials and ~/.aw

Free White Paper

Session Management: The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

When you’re working with AWS CLI-style profiles over unstable connections, Mosh changes the game. No more losing your spot when you switch networks or your VPN blinks out. Your shell stays alive, your context stays intact, and your AWS profiles remain ready to run aws s3 sync or aws ec2 describe-instances without a hitch.

AWS CLI profiles let you manage multiple accounts and credentials without retyping keys or exporting variables every time. You define them once in ~/.aws/credentials and ~/.aws/config. Then you can call them instantly:

aws --profile staging ec2 describe-instances
aws --profile prod s3 ls

The friction starts when you’re not on a rock-solid connection. SSH drops. Your terminal resets. You log back in, re-run exports, re-navigate to your folder, and your flow dies. With Mosh, the connection survives switches from Wi-Fi to 5G, survives idle timeouts, and keeps session state without hacks.

Continue reading? Get the full guide.

Session Management: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

Here’s the setup workflow:

  1. Install Mosh on client and server.
  2. Connect once:
mosh user@server
  1. Load your AWS CLI profiles and environment as normal.
  2. Work without fear of session loss.

For engineers hopping between AWS accounts, running CI/CD commands remotely, or doing late-night incident response, this is the cleanest way to combine AWS CLI-style profiles with a terminal session that refuses to die.

The efficiency gain is real. No reconnect dance. No broken pipelines. Just seamless typing across hours, networks, and contexts. Mosh is the secure remote shell that treats unreliable connections as part of life, not as an exception.

If you want to see AWS CLI-style profiles with Mosh in action — not in theory — go to hoop.dev and get it running live in minutes.

Get started

See hoop.dev in action

One gateway for every database, container, and AI agent. Deploy in minutes.

Get a demoMore posts