Notices: This section not yet converted to new layout. Download stats are rolling back out.

KeePass Plugin KeeAgent

Package test results are passing.

This package was approved as a trusted package on 9/7/2019.

KeeAgent is a plugin for KeePass 2.x. It allows other programs to access SSH keys stored in your KeePass database for authentication. It can either act as a stand-alone agent or it can interface with an external agent.

  • Store your SSH private keys in your KeePass 2.x database and use KeePass as your SSH agent (replaces Pageant on Windows).
  • Keys can be configured to automatically load when a KeePass database is opened and unload when the database is closed/locked.
  • Cross-platform: work on Windows/Linux/Mac.
  • Supports both PuTTY and OpenSSH private key formats, (new in Beta v0.7.0, includes the “new” OpenSSH key format introduced in OpenSSH 6.5).
  • Supports SSH1 and SSH2 keys.
  • SSH2 key formats include RSA, DSA and ECDSA (new in Beta v0.7.0, includes Ed25519 support).
  • Works with both PuTTY (and PuTTY compatible programs) and Cygwin/Msys on Windows.
  • Works with native SSH agent on Linux/Mac.

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.

To install KeePass Plugin KeeAgent, run the following command from the command line or from PowerShell:

C:\> choco install keepass-plugin-keeagent

To upgrade KeePass Plugin KeeAgent, run the following command from the command line or from PowerShell:

C:\> choco upgrade keepass-plugin-keeagent


  • tools\.skipAutoUninstaller
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageArgs = @{
        packageName   = $env:ChocolateyPackageName
        url           = ''
        checksum      = '71E96081CFC03F54D1CCB21B9EB1EC49FA4B51D4C0E20B7C985E49CAC320FB70'
        checksumType  = 'SHA256'
    $packageSearch = 'KeePass Password Safe*'
    $installPath = ''
    Write-Verbose "Searching for Keepass install location."
    if ([array]$key = Get-UninstallRegistryKey -SoftwareName $packageSearch) {
        $installPath = $key.InstallLocation
    if ([string]::IsNullOrEmpty($installPath)) {
        Write-Verbose "Searching '$env:ChocolateyBinRoot' for portable install..."
        $portPath = Join-Path -Path $env:ChocolateyBinRoot -ChildPath "keepass"
        $installPath = Get-ChildItem -Directory "$portPath*" -ErrorAction SilentlyContinue
    if ([string]::IsNullOrEmpty($installPath)) {
        Write-Verbose "Searching '$env:Path' for unregistered install..."
        $installFullName = Get-Command -Name keepass -ErrorAction SilentlyContinue
        if ($installFullName) {
            $installPath = Split-Path $installFullName.Path -Parent
    if ([string]::IsNullOrEmpty($installPath)) {
        throw "$($packageSearch) not found."
    else {
        Write-Verbose "Found Keepass install location at '$installPath'."
    # See
    $oldPlugin = Join-Path -Path $installPath -ChildPath 'Plugins\keepass-plugin-keeagent.plgx'
    if (Test-Path -Path $oldPlugin) {
        try {
            Remove-Item -Path $oldPlugin -Force
            Write-Host "Old version of this plugin, with incorrect name, was deleted at '$oldPlugin'."
        catch {
            Write-Warning "Old versions of this package, with incorrect name was found at '$oldPlugin'. However we were unable to delete it. Please do this manually or you risk Keepass not working correctly!"
    $packageArgs.unzipLocation = Join-Path -Path $installPath -ChildPath 'Plugins'
    Install-ChocolateyZipPackage @packageArgs
    if (Get-Process -Name 'KeePass' -ErrorAction SilentlyContinue) {
        Write-Warning "Keepass is currently running. '$($packageArgs.packageName)' will be available at next restart."
    else {
        Write-Host "'$($packageArgs.packageName)' will be loaded the next time KeePass is started."
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageArgs = @{
        packageName = $env:ChocolateyPackageName
        zipFileName = "KeeAgent_v$($env:ChocolateyPackageVersion).zip"
    Uninstall-ChocolateyZipPackage @packageArgs

Virus Scan Results

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.


Package Maintainer(s)

Software Author(s)

  • David Lechner


2012 David Lechner


Release Notes

Version History

Version Downloads Last updated Status
KeePass Plugin KeeAgent 0.10.1 749 Saturday, July 14, 2018 approved
KeePass Plugin KeeAgent 0.8.1 2697 Friday, July 29, 2016 approved
KeePass Plugin KeeAgent 0.8.0 194 Friday, July 29, 2016 approved
KeePass Plugin KeeAgent 240 Sunday, October 11, 2015 exempted
KeePass Plugin KeeAgent 443 Friday, July 10, 2015 exempted
KeePass Plugin KeeAgent 0.7.1-beta 317 Thursday, July 2, 2015 exempted
KeePass Plugin KeeAgent 0.6.3 479 Sunday, July 19, 2015 approved

Discussion for the KeePass Plugin KeeAgent Package

Ground rules:

  • This discussion is only about KeePass Plugin KeeAgent and the KeePass Plugin KeeAgent 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 KeePass Plugin KeeAgent, 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 uses cookies to enhance the user experience of the site.