Comments (2)
Ah, I see, I was hoping that there were no keys involved since it requires an access token. In fact, that was exactly why I was trying to use it. Thanks for the suggestion, I'll switch to an SSH action.
from action-doctl.
In order to SSH into a Droplet, doctl
needs access to the private half of the SSH key pair whose public half is on the Droplet. Currently the doctl
Action is based on a Docker container. If you were using the Docker container directly, you could invoke it with:
docker run --rm --interactive --tty \
--env=DIGITALOCEAN_ACCESS_TOKEN=<YOUR-DO-API-TOKEN> \
-v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa \
digitalocean/doctl compute ssh <DROPLET-ID>
in order to mount the SSH key from outside the container.
You might be better off just using doctl
to grap the Droplet's IP address and using this Action that is more focused on SSH related use cases and provides a lot of additional functionality: https://github.com/marketplace/actions/ssh-remote-commands
from action-doctl.
Related Issues (20)
- Creates a lot of personal access tokens HOT 1
- Unable to apply manifest files using doctl - connection refused HOT 1
- Input required and not supplied: token HOT 1
- Deploy to droplet app HOT 3
- Action will stop working Nov 16th HOT 2
- GitHub Action No Longer Works Due to Deprecation of Add-Path HOT 3
- [SOLVED] `doctl registry login` creates superfluous API Tokens HOT 1
- Access Token always fails authentication HOT 5
- multiple tokens and authentication required HOT 1
- version: latest is installing v1.64.0 instead of 2.1.0 HOT 2
- Usage instructions should have a token setup reminder HOT 2
- Manual input request - how to solve? HOT 1
- Upgrade action to use Node 16
- Setup without token for offline commands such as app spec validation
- Ignore file HOT 1
- Support for arm64 platform HOT 1
- Self hosted runner: os.machine is not a function HOT 5
- Serverless deploy using this action seems to failing with INTERNAL_ERROR HOT 3
- Error: Unable to process command '::add-path::/opt/hostedtoolcache/doctl/1.100.0/x64' successfully. HOT 1
- Warning message "Node 16 deprecated"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-doctl.