Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading ssh key? #3

Open
jamarcus-deloitte opened this issue Aug 9, 2015 · 0 comments
Open

loading ssh key? #3

jamarcus-deloitte opened this issue Aug 9, 2015 · 0 comments

Comments

@jamarcus-deloitte
Copy link

minnows up -s 4 -c .ssh/digitalocean.pub -a andtheapikeystring

couple of questions, this key has a password on it, and its loaded using ssh-add prior to running. I have tried the pub key as a string and as a path to the file either way I get an exception. Anything i'm doing wrong?

Attempting to call up 4 minnows.
Traceback (most recent call last):
File "/usr/local/bin/minnows", line 6, in
main.main()
File "/Library/Python/2.7/site-packages/minnowswithmachineguns/main.py", line 166, in main
parse_options()
File "/Library/Python/2.7/site-packages/minnowswithmachineguns/main.py", line 132, in parse_options
minnows.up(options.servers, options.client_key, options.api_key, options.login, options.type, options.region_id, options.ssh_keys)
File "/Library/Python/2.7/site-packages/minnowswithmachineguns/minnows.py", line 77, in up
ssh_keys = [str(k.id) for k in client.all_ssh_keys()]
File "/Library/Python/2.7/site-packages/dop/client.py", line 176, in all_ssh_keys
json = self.request('/ssh_keys', method='GET', params=params)
File "/Library/Python/2.7/site-packages/dop/client.py", line 374, in request
raise DOPException(error)
dop.client.DOPException: Status code: 401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant