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

/do2hosts/

    Package Sidebar

    Install

    npm i do2hosts

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • cgavrila