/dossh

Primary LanguageShellGNU General Public License v3.0GPL-3.0

DOSSH

A simple interactive CLI utility to lookup existing digitalocean droplets and start an SSH session.

Install

brew tap androidwiltron/dossh
brew install dossh

Usage

dossh [-f <localport:remoteport>] [-s username] [-u username]

Enviroment variables

Variable Optional Description
DIGITALOCEAN_ACCESS_TOKEN Yes The Digitalocean access token for the account

Arguments

Argument Optional Description Format
-f Yes Port Forward. Start port forwarding a remote port to a local port <0-65536:0-65536>
-s Yes Switch to an existing user on the droplet username
-u Yes Specify the username to start the ssh session with username