Five Terminal Applications I Can't Live Without


Hey!

We all love the terminal. But what if I told you that some of the most powerful security tools are slo available, right at your fingertips, within your familiar terminal?

Let’s dive into five terminal applications that have become indispensable in my security toolkit.

Thank you to our sponsors who keep this newsletter free to the reader:

Aikido is your no-nonsense DevSecOps platform. One central system that shows you what matters and how to fix it, from code to cloud. So you can get back to building. Try Aikido today!

1. age: Modern File Encryption

age is a simple, modern file encryption tool that’s perfect for quickly securing sensitive data. Whether you’re using keys or passwords, age makes file encryption a breeze.

Generate a key with:
$ age-keygen -o key.txt

Use the key generated pair for encryption:

# Using the public key for encryption

$ tar cvz ~/data | age -r ~your-key~ > data.tar.gz.age

# Using the private key for decryption!

$ age –decrypt -i key.txt data.tar.gz.age > data.tar.gz

2. sshs: SSH Made Easy

sshs is a terminal user interface for SSH that takes the pain out of managing multiple server connections. It picks up your SSH config and presents your servers in a neat, easy-to-navigate list.

If you have an organized .sshconfig SSHS will read it and let you fuzzy search over a list of servers and use the configured settings to connect to the server.

3. atac: API Testing in the Terminal

atac (Arguably a terminal API client) brings the power of Postman to your command line. It’s perfect for testing and debugging API endpoints without leaving your terminal.

Atac takes some getting used to but having the ability to shoot HTTP requests from the terminal while keeping persistency and organization has completely transformed the way I work!

4. termshark: Network Analysis at Your Fingertips

termshark is a terminal interface for Wireshark, allowing you to monitor and analyze network traffic right from your command line. It’s a game-changer for quick network diagnostics.

If you’re a Wireshark user, or tshark (its little CLI brother) you’d love how termshark wraps around tshark with navigation panels right within in the terminal.

5. portal: Secure File Transfer

portal is a sleek file transfer utility that works in your terminal. It makes sending files between computers secure and straightforward.

Make sure it’s installed both on the sending the receiving end (there are multiple methods available for most platforms), then send your file(s):
portal send <file1> <file2> <folder1> <folder2> ...

On the receiving end run the command given to you on the previous step, it should look something like this:
portal receive 1-intertia-elliptical-celestial

The two systems will try to create a connection either through a relay server or directly, depending on what’s available.

And voila! Your files and folders are safely moved.

These tools are lightweight, fast to set up, and they leverage the command line interface you’re already familiar with. In a security pinch, your terminal can be your best friend, giving you the power to encrypt files, manage SSH connections, test APIs, analyze network traffic, and transfer files securely.

I hope you enjoyed this collection as I did.

Feel free to reply directly with questions, comments or just general feedback if you appreciate the occasional collection of useful tools!

Have a great weekend!

ESPRESSO FRIDAYS

Every once in a while I send hand picked things I've learned. Kind of like your filter to the tech internet. No spam, I promise!

Read more from ESPRESSO FRIDAYS

I Just Unlocked MacOS GOD MODE With Hammerspoon Ever felt like your Mac is an overprotective parent, constantly limiting what you can do? Can't open any downloaded app, can't control your own notifications, can't do anything that isn't strictly within the boundaries dictated by Apple... I just discovered a power tool that hands you the keys to the kingdom – Hammerspoon, a decade-old but criminally underrated Mac automation tool that lets you bend macOS to your will with simple Lua scripting....

Why I'm Ditching Nix Home ManagerAnd What I'm Using Instead This issue is brought to you by: Ready to Take Your Testing to the Next Level? Don’t let complex testing slow you down! With Squish, you can automate your entire UI testing process across multiple platforms, ensuring both speed and accuracy. Take a tour to see Squish for yourself! For the longest time, my dotfiles felt like a junk drawer: essential, but keeping them in order is a constant battle. Like many developers, I've been...

One Neovim Plugin, 10x Quality of Life This issue is brought to you by: Ready to Take Your Testing to the Next Level? Don’t let complex testing slow you down! With Squish, you can automate your entire UI testing process across multiple platforms, ensuring both speed and accuracy. Take a tour to see Squish for yourself! Ever found yourself drowning in a sea of Neovim plugins, each promising to solve one small problem but collectively creating a configuration nightmare? You're not alone. Today,...