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 SSH client package to community-stable images #462

Closed
wants to merge 10 commits into from

Conversation

kiazhi
Copy link
Contributor

@kiazhi kiazhi commented Jul 22, 2020

PR Summary

  1. address Enhancement request: Add ssh to images #374 enhancement request for community-stable images.

In order to use Enter-PSSession to connect with other (Windows or Linux) VM and Container, OpenSSH client package is required.

Below is the list of OpenSSH client package required for various linux distros:

  • openssh-clients package for Amazon Linux
  • openssh package for ArchLinux
  • openssh package for BlackArch
  • openssh-client package for ClearLinux
  • openssh-client package for KaliLinux
  • openssh-clients package for Oracle Linux
  • openssh-client package for ParrotSec
  • openssh-clients package for Photon
  1. Remove the need of using wget or curl to download PowerShell package in Docker RUN. Use Docker ADD to download PowerShell package instead.

  2. Other minor fixes

PR Checklist

Copy link
Collaborator

@RDIL RDIL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What percentage of the new image sizes is openssh?

Also: 1 question

@@ -13,6 +13,9 @@ ARG PS_PACKAGE=powershell-${PS_VERSION}-1.rhel.7.x86_64.rpm
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE}
ARG PS_INSTALL_VERSION=7

# Download the PowerShell Core Linux .rpm and save it
ADD ${PS_PACKAGE_URL} /tmp/powershell-linux.rpm
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you revert this? It improved the image size.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I forgotten about the layer size issue since I was helping on some work requirement for standardising syntax. lol.

@ghost ghost added the Waiting on Author label Jul 22, 2020
@TravisEz13
Copy link
Member

Conflicts need to be resolved. Ping me if you need me to do it.

@ghost ghost removed the Waiting on Author label Jul 22, 2020
@kiazhi
Copy link
Contributor Author

kiazhi commented Jul 22, 2020

I need to close off this pull request for now as I also noticed there is an issue with OracleLinux too since it was put into unstable folder. Its bit late at my time now so can't be fixing it. I didn't realise there changes while I was in any own branch fixing the SSH for various distros. Will come back again in another PR.

@kiazhi kiazhi closed this Jul 22, 2020
@kiazhi kiazhi deleted the pr-ssh branch July 23, 2020 14:43
@kiazhi
Copy link
Contributor Author

kiazhi commented Jul 24, 2020

Pull Request superseded by #465

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.

3 participants