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

winget install option for client only install #2270

Open
johnburnett opened this issue Sep 6, 2024 · 4 comments
Open

winget install option for client only install #2270

johnburnett opened this issue Sep 6, 2024 · 4 comments

Comments

@johnburnett
Copy link

Summary of the new feature / enhancement

I'd like to install the openssh client via winget, but not have the sshd service enabled. I can work around this by running:

Set-Service -Name sshd -StartupType 'Manual'
Stop-Service sshd

...but ideally there would be a way to prevent this in the first place. And in the meantime, I'd recommend the above bit of powershell gets added to https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH to help others with the same request.

Proposed technical implementation details (optional)

No response

@tgauth
Copy link
Collaborator

tgauth commented Sep 9, 2024

you should be able to use WinGet's --override parameter to pass: ADDLOCAL=Client

@johnburnett
Copy link
Author

Ah great, thank you. Where’s that documented?

@tgauth
Copy link
Collaborator

tgauth commented Sep 9, 2024

@johnburnett
Copy link
Author

Sounds great, 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