Downloads of v


Last Update:

15 Aug 2018

Package Maintainer(s):

Software Author(s):

  • David Lechner


keepass plugin ssh authentication admin

KeePass Plugin KeeAgent

This is not the latest version of KeePass Plugin KeeAgent available.

  • 1
  • 2
  • 3 | Updated: 15 Aug 2018



Downloads of v



Software Author(s):

  • David Lechner

  • 1
  • 2
  • 3
KeePass Plugin KeeAgent

This is not the latest version of KeePass Plugin KeeAgent available.

  • 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


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:


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade keepass-plugin-keeagent -y --source="'STEP 3 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="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure keepass-plugin-keeagent installed
    name: keepass-plugin-keeagent
    state: present
    source: STEP 3 URL

See docs at

chocolatey_package 'keepass-plugin-keeagent' do
  action    :install
  version  ''
  source   'STEP 3 URL'

See docs at

    Name: keepass-plugin-keeagent,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller keepass-plugin-keeagent
   Name     = 'keepass-plugin-keeagent'
   Ensure   = 'Present'
   Version  = ''
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'keepass-plugin-keeagent':
  provider => 'chocolatey',
  ensure   => '',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install keepass-plugin-keeagent version="" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 16 May 2020.


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      = '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."
$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.

Version Downloads Last Updated Status
KeePass Plugin KeeAgent 0.12.0 1341 Thursday, June 11, 2020 Approved
KeePass Plugin KeeAgent 0.11.1-beta 1878 Wednesday, October 2, 2019 Approved
KeePass Plugin KeeAgent 11112 Wednesday, August 15, 2018 Approved
KeePass Plugin KeeAgent 0.10.1 846 Saturday, July 14, 2018 Approved
KeePass Plugin KeeAgent 0.8.1 2809 Friday, July 29, 2016 Approved
KeePass Plugin KeeAgent 0.8.0 327 Friday, July 29, 2016 Approved
KeePass Plugin KeeAgent 329 Sunday, October 11, 2015 Exempted
KeePass Plugin KeeAgent 579 Friday, July 10, 2015 Exempted
KeePass Plugin KeeAgent 0.7.1-beta 391 Thursday, July 2, 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