Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

do2hosts

0.0.1 • Public • Published

do2hosts

A little utility tool to convert Digital Ocean dropets' IPs to /etc/hosts entries.

Only works for IPv4 and Linux.

Why?

Because it's easier doing ssh root@droplet-name than ssh root@ ah ... go check Digital Ocean ... oh right that's it ... 10.x.y.z, i.e. laziness.

How to install

npm install -g do2hosts

How to run

do2hosts
DigitalOcean Personal Access Token: <your DO access token>

# BEGIN DigitalOcean entries
x.x.x.x    droplet1
y.y.y.y    droplet2
# END DigitalOcean entries

License

MIT

install

npm i do2hosts

Downloadsweekly downloads

1

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability