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

Option format for SSHD changed. #598

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Conversation

larsskj
Copy link
Contributor

@larsskj larsskj commented Jan 2, 2018

Whilst trying to make the Docker plugin work with a recent Docker image based on Alpine, I came across an issue with the way the plugin injects options to SSHD.

The original method only works with some versions of SSHD - by adding the equal sign it should work reliably with all versions of SSHD. At least it works with all the images I've tried.

It can be tested without rebuilding the plugin by replacing the "Docker command" under "Container settings" to

/usr/sbin/sshd -D -p 22 -o AuthorizedKeysCommand=/root/authorized_key -o AuthorizedKeysCommandUser=root

Regards,
Lars

@ndeloof ndeloof merged commit fc1d413 into jenkinsci:master Jan 9, 2018
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

Successfully merging this pull request may close these issues.

2 participants