Downloads of v 0.13.1:


Last Update:

30 Jul 2022

Package Maintainer(s):

Software Author(s):

  • David Lechner


keepass plugin ssh authentication admin

KeePass Plugin KeeAgent

  • 1
  • 2
  • 3

0.13.1 | Updated: 30 Jul 2022



Downloads of v 0.13.1:



Software Author(s):

  • David Lechner

  • 1
  • 2
  • 3
KeePass Plugin KeeAgent 0.13.1

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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


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


To uninstall KeePass Plugin KeeAgent, 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 keepass-plugin-keeagent -y --source="'INTERNAL REPO URL'" [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 keepass-plugin-keeagent -y --source="'INTERNAL REPO URL'" 

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

Exit $exitCode

- name: Install keepass-plugin-keeagent
    name: keepass-plugin-keeagent
    version: '0.13.1'
    state: present

See docs at

chocolatey_package 'keepass-plugin-keeagent' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.13.1'

See docs at

cChocoPackageInstaller keepass-plugin-keeagent
    Name     = "keepass-plugin-keeagent"
    Version  = "0.13.1"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'keepass-plugin-keeagent':
  ensure   => '0.13.1',
  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.

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 30 Jul 2022.


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.

$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName   = $env:ChocolateyPackageName
    url           = ''
    checksum      = 'e5e48f503b9777265e37149fe1be72839389d29b5bdb94b7d192e1231ad0f263'
    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."
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName = $env:ChocolateyPackageName
    zipFileName = "KeeAgent_v$($env:ChocolateyPackageVersion).zip"

Uninstall-ChocolateyZipPackage @packageArgs

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
KeePass Plugin KeeAgent 0.13.2 8 Tuesday, September 27, 2022
Waiting for Maintainer
KeePass Plugin KeeAgent 0.12.1 5631 Monday, August 31, 2020 Approved
KeePass Plugin KeeAgent 0.12.0 1377 Thursday, June 11, 2020 Approved
KeePass Plugin KeeAgent 0.11.1-beta 1930 Wednesday, October 2, 2019 Approved
KeePass Plugin KeeAgent 11153 Wednesday, August 15, 2018 Approved
KeePass Plugin KeeAgent 0.10.1 873 Saturday, July 14, 2018 Approved
KeePass Plugin KeeAgent 0.8.1 2847 Friday, July 29, 2016 Approved
KeePass Plugin KeeAgent 0.8.0 373 Friday, July 29, 2016 Approved
KeePass Plugin KeeAgent 373 Sunday, October 11, 2015 Exempted

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