A simple interactive CLI utility to lookup existing digitalocean droplets and start an SSH session.
brew tap androidwiltron/dossh
brew install dossh
dossh [-f <localport:remoteport>] [-s username] [-u username]
Variable |
Optional |
Description |
DIGITALOCEAN_ACCESS_TOKEN |
Yes |
The Digitalocean access token for the account |
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 |