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

Using SSH backend without ssh-agent #43

Open
marcy-terui opened this issue Oct 13, 2017 · 2 comments
Open

Using SSH backend without ssh-agent #43

marcy-terui opened this issue Oct 13, 2017 · 2 comments

Comments

@marcy-terui
Copy link
Contributor

marcy-terui commented Oct 13, 2017

Hi,

I want to run libspecinfra on CI services (e.g. Circle CI) and FaaS (e.g. AWS Lambda).
These services may be difficult to use ssh-agent.

So, I would like to implement the another way to use SSH backend that specify the host, user and key file or password.

@mizzy What do you think about these options?

First,

  1. Change SSH backend to be able to use without ssh-sgent
  2. Add a new backend
  3. Any ideas?

Next, (Only if we choice 1 at first)

  1. Change the argument of the backend_ssh_new cffi interface to a structure. This is very simple. But it has a breaking change.
  2. Add a new cffi interface.
  3. Any ideas?
@mizzy
Copy link
Member

mizzy commented Oct 13, 2017

Thanks for your proposal.

Change SSH backend to be able to use without ssh-sgent

This one is best.

Change the argument of the backend_ssh_new cffi interface to a structure. This is very simple. But it has a breaking change.

We don't need to care backward compatibility currently. So this idea is good.

@marcy-terui
Copy link
Contributor Author

We don't need to care backward compatibility currently. So this idea is good.

I'm glad to hear that. Thanks!!

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

2 participants