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

"Empty argument. Try again" while trying to add a new key #30

Open
baobaab opened this issue Feb 4, 2020 · 0 comments · May be fixed by #32
Open

"Empty argument. Try again" while trying to add a new key #30

baobaab opened this issue Feb 4, 2020 · 0 comments · May be fixed by #32

Comments

@baobaab
Copy link

baobaab commented Feb 4, 2020

On a fresh dokku setup (Ubuntu 18.04, dokku 0.19.12), I was not able to add either a shared key or an app key, I always get the message Empty argument. Try again.

Here is the test I did with "github.com" :

root@u18-dokku:~# dokku apps:create test
-----> Creating test... done
root@u18-dokku:~# dokku hostkeys:shared:add "$(ssh-keyscan -t rsa github.com 2>/dev/null)"
Empty argument. Try again.
root@u18-dokku:~# dokku hostkeys:app:add test "$(ssh-keyscan -t rsa github.com 2>/dev/null)"
No app specific keys folder available. creating..
No app specific keys file available. creating..
Empty argument. Try again.
baobaab added a commit to F4-Group/dokku-hostkeys-plugin that referenced this issue Feb 4, 2020
Initial positional parameters have already been parsed and stored in
named variables early, so use them instead of positional parameters

Some wrong conditions have been fixed, and this fixes
cedricziel#30.
@baobaab baobaab linked a pull request Mar 6, 2020 that will close this issue
baobaab added a commit to F4-Group/dokku-hostkeys-plugin that referenced this issue Apr 20, 2020
Positional parameters are now read when needed in every relevant
functions, instead of being stored as global variables.

By the way, some wrong conditions have been fixed, and this fixes
cedricziel#30.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant