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

add-key ignores default set in ~/.tugboat #134

Closed
brandondrew opened this issue Dec 2, 2014 · 3 comments
Closed

add-key ignores default set in ~/.tugboat #134

brandondrew opened this issue Dec 2, 2014 · 3 comments

Comments

@brandondrew
Copy link
Contributor

I have the default ssh public key set in ~/.tugboat, but tugboat add-key rethink-2 still asks me to type in the entire path to the key. I see several better alternatives

  1. It could simply use the default. This is not perfect, but not bad.
  2. It could prompt me to choose one, but let the default specified in ~/.tugboat be the default choice, so I could just hit return and be done with it.
  3. It could give a menu of choices, so I could just type a number instead of the whole path, and make the default be the specified default.

Assuming 1 is not chosen, it would be useful to also have a --default option for add-key. (But I suppose I should really file that as a separate feature request, so it can be tracked separately if necessary.)

@brandondrew
Copy link
Contributor Author

I may be misunderstanding what add-key does... I thought (since my rethink-2 was not allowing me to ssh to it) that this was adding a key to a specific VM, but if it is in fact adding the key to the DO account, then my request may not make sense.

@brandondrew
Copy link
Contributor Author

Although in any case a menu would be more convenient.

@brandondrew
Copy link
Contributor Author

Yes, I've confirmed that add-key adds a key to the account, not to the VM

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