Content Deep Dive
Have a lot of Droplets? Use do-ssh-alias for easier SSH access
Blog post from DigitalOcean
Post Details
Company
Date Published
Author
Kamal Nasser
Word Count
794
Language
English
Hacker News Points
-
Summary
do-ssh-alias is a tool that creates SSH aliases for all DigitalOcean Droplets at once, allowing users to easily SSH into them without having to worry about usernames or IP addresses. It depends on the programs jq and doctl, which need to be installed before using do-ssh-alias. The script can be downloaded from GitHub or obtained via command line. Users can customize the output by passing options such as -u for SSH username, -i for hostnames to ignore, and -s for generating additional aliases with a specified suffix stripped. This tool is useful for managing multiple Droplets and their configurations.