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 OpenSSH to installed package #18

Closed
philipmat opened this issue May 10, 2016 · 3 comments
Closed

Add OpenSSH to installed package #18

philipmat opened this issue May 10, 2016 · 3 comments

Comments

@philipmat
Copy link

This would allow reusable connections (-c ssh).

Might also need the sshpass package until this pull request is accepted.

@William-Yeh
Copy link
Owner

William-Yeh commented May 11, 2016

Similar to #14

At first, I designed these series of images according to the best practice of Docker: If you run SSHD in your Docker containers, you're doing it wrong! So I didn't try to touch any SSH stuff unless absolutely necessary.

So, I prefer installing such stuff at derived images or by another script (maybe install-openssh.sh?).

@philipmat
Copy link
Author

Sorry if I wasn't clear. I'm not talking about the ssh daemon, but the ssh client libraries. This allows Ansible to use OpenSSH libraries over paramiko:

In Ansible 1.2.1 and later, ‘ssh’ will be used by default if OpenSSH is new enough to support ControlPersist as an option.
Paramiko is great for starting out, but the OpenSSH type offers many advanced options.

https://support.ansible.com/hc/en-us/articles/201957917-How-do-I-get-ansible-to-reuse-connections-enable-Kerberized-SSH-or-have-Ansible-pay-attention-to-my-local-SSH-config-file-

@William-Yeh
Copy link
Owner

William-Yeh commented Jun 14, 2016

Now openssh-client/clients and sshpass are installed on all images, excluding the images with -onbuild and mini- tags.

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

No branches or pull requests

2 participants