Comments (3)
It is a configuration mistake, check ~/.axiom/configs/authorized_keys and ensure your ssh pub key is in there.
Then run axiom-build again. It will be a setup issue when you first configured axiom. You need to ensure your ssh public key is in that file.
from axiom.
From my review of axiom-fleet, this looks to be the only way currently. Would need to add some stuff to a couple of the interact scripts, but in theory you should be able to use the axiom-configure ssh key concept:
axiom/interact/axiom-configure
Line 128 in fd7bc8e
Then if a fleet run option is chosen --ssh
for instance, then set a flag during axiom-fleet here:
Line 81 in fd7bc8e
then you would have to set up a new var in axiom-init
Line 64 in fd7bc8e
like:
if [[ "$var" =~ "--ssh" ]]; then do_key="$AXIOM_PATH/configs/authorized_keys" fi
Then inside of axiom-init, change this
Line 154 in fd7bc8e
to some conditional thing with something like as the other option
doctl compute droplet create "$name" --image "$image_id" --size "$size" --region "$region" --ssh-keys "$do_ssh" --wait --user-data-file "$AXIOM_PATH/tmp/$name.sh" 2>&1 >>/dev/null &
I was thinking about adding this, but its kind of a big change to multiple scripts so I would def want @pry0cc approval before I spent any time on it personally. You should honestly be able to hack it together yourself though from this I hope, good luck!
from axiom.
That was it, I got it working :-)
Thank you for your answer!
from axiom.
Related Issues (20)
- Installer reinstalls Go despite having it in path
- `axiom-exec` doesn't execute command HOT 3
- How do you specify region for aws fleet HOT 3
- Inconsistent flag dashes HOT 5
- Failed to initialize builder 'digitalocean' HOT 1
- linode installation setup failed HOT 2
- Can't start axiom proxy HOT 1
- What this script do? HOT 2
- stty: 'standard input': Inappropriate ioctl for device HOT 1
- ...
- Request failed: 400ull initialization... HOT 1
- all modules containing _target_ cannot be used HOT 2
- [Feature] Saving storage and time not duplicating logs and output HOT 4
- Not able to install Axiom HOT 1
- After 9 minutes I get empty results HOT 2
- Permission denied (publickey) HOT 4
- bash: /home/op/go/bin/httpx: No such file or directory HOT 2
- axiom fleet scan - one machine get stuck - options? HOT 2
- Error creating temporary SSH key HOT 1
- Error in input handling HOT 2
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 axiom.