Downloads of v 1.1.4:


Last Update:

09 Jan 2021

Package Maintainer(s):

Software Author(s):

  • buptczq


wincrypt-sshagent ssh yubikey smartcard

wincrypt-sshagent (Install)

This is not the latest version of wincrypt-sshagent (Install) available.

  • 1
  • 2
  • 3

1.1.4 | Updated: 09 Jan 2021



Downloads of v 1.1.4:



Software Author(s):

  • buptczq

  • 1
  • 2
  • 3
wincrypt-sshagent (Install) 1.1.4

This is not the latest version of wincrypt-sshagent (Install) available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.


Deployment Method: Individual Install, Upgrade, & Uninstall

To install wincrypt-sshagent (Install), run the following command from the command line or from PowerShell:


To upgrade wincrypt-sshagent (Install), run the following command from the command line or from PowerShell:


To uninstall wincrypt-sshagent (Install), run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade wincrypt-sshagent -y --source="'INTERNAL REPO URL'" --version="'1.1.4'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade wincrypt-sshagent -y --source="'INTERNAL REPO URL'" --version="'1.1.4'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install wincrypt-sshagent
    name: wincrypt-sshagent
    version: '1.1.4'
    state: present

See docs at

chocolatey_package 'wincrypt-sshagent' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.1.4'

See docs at

cChocoPackageInstaller wincrypt-sshagent
    Name     = "wincrypt-sshagent"
    Version  = "1.1.4"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'wincrypt-sshagent':
  ensure   => '1.1.4',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 09 Jan 2021.



A SSH Agent based-on Windows CryptoAPI.

This project allows other programs to access SSH keys stored in your Windows Certificate Store for authentication.

Benefit by Windows Certificate Management, this project natively supports the use of windows user certificates or smart cards, e.g., Yubikey PIV, for authentication.


  • Work with smart cards natively without installing any driver in Windows (PIV only)
  • Support for OpenSSH certificates (so you can use your smart card with an additional OpenSSH certificate)
  • Good compatibility


There are many different OpenSSH agent implementations in Windows. This project implements 4 popular protocols in Windows:

  • Cygwin UNIX Socket
  • Windows UNIX Socket (Windows 10 1803 or later)
  • Named pipe
  • Pageant SSH Agent Protocol

With the support of these protocols, this project is compatible with most SSH clients in Windows. For example:

  • Git for Windows
  • Windows Subsystem for Linux
  • Windows OpenSSH
  • Putty
  • Jetbrains
  • SecureCRT
  • XShell
  • Cygwin
  • ...

$packageName = 'wincrypt-sshagent'
$appName = 'WinCryptSSHAgent'

$url = ''

$dir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$processName = $appName;
$exe = $processName + '.exe'
$fullPath = Join-Path -Path $dir -ChildPath $exe
$checksum = 'b61cc0c0e68e549725d0ab7fa629871ae8a1935de2b22fb8401504f72d034be44eef4bef64eed9e5c16e5fc4f093f9fe805be6e446357c2486934a2d13303970'
$checksumType = 'sha512'

$startFolder = $appName

Function CreateStartMenuShortcut {
    $startMenuFolderPath = Join-Path -Path ([Environment]::GetFolderPath('Programs')) `
        -ChildPath $startFolder
    New-Item $startMenuFolderPath -Type Directory -ErrorAction SilentlyContinue
    If (Test-Path -Path $startMenuFolderPath -PathType Container) {
            Install-ChocolateyShortcut -shortcutFilePath `
                (Join-Path -Path $startMenuFolderPath -ChildPath ($appName + '.lnk')) `
                -targetPath $fullPath -workingDirectory $dir
    } Else {
        Write-Warning "Start menu folder couldn't be created."


Stop-Process -Name $processName -ErrorAction SilentlyContinue

# Workaround for
Remove-Item -Path $fullPath -Force -Confirm:$FALSE -ErrorAction SilentlyContinue

Get-ChocolateyWebFile -PackageName $packageName -FileFullPath $fullPath -Url64bit $url -ChecksumType $checksumType -Checksum64 $checksum -ChecksumType64 $ChecksumType

# create .gui file
New-Item -Path $dir -Name ($exe + '.gui') -ItemType file

$startFolder = 'WinCryptSSHAgent'
$processName = $startFolder;

Function RemoveStartMenuShortcut {
    $startMenuFolderPath = Join-Path -Path ([Environment]::GetFolderPath('Programs')) `
        -ChildPath $startFolder
    Remove-Item $startMenuFolderPath -Recurse -Force -Confirm:$FALSE -ErrorAction SilentlyContinue


Stop-Process -Name $processName -ErrorAction SilentlyContinue


Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
wincrypt-sshagent (Install) 1.1.8 204 Thursday, March 25, 2021 Approved
wincrypt-sshagent (Install) 1.1.7 226 Thursday, February 25, 2021 Approved
wincrypt-sshagent (Install) 1.1.6 66 Sunday, February 21, 2021 Approved
wincrypt-sshagent (Install) 1.1.5 244 Friday, January 15, 2021 Approved
wincrypt-sshagent (Install) 1.1.4 234 Saturday, January 9, 2021 Approved
wincrypt-sshagent (Install) 1.1.3 715 Wednesday, December 16, 2020 Approved
wincrypt-sshagent (Install) 1.1.2 203 Friday, November 20, 2020 Approved
wincrypt-sshagent (Install) 1.1.1 45 Friday, November 20, 2020 Approved
wincrypt-sshagent (Install) 1.0.5 451 Saturday, May 30, 2020 Approved

This package has no dependencies.

Discussion for the wincrypt-sshagent (Install) Package

Ground Rules:

  • This discussion is only about wincrypt-sshagent (Install) and the wincrypt-sshagent (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or wincrypt-sshagent (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus