darkoperator / darkoperator/Posh-SSH

Exception calling "DeleteValue" with "1" argument(s): "No value exists with that

Open
#511 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1.1k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

We are using POSH-SSH module version 2.2 and some time while running below command we face this error.

Get-SSHTrustedHost | Remove-SSHTrustedHost

Error : Exception calling "DeleteValue" with "1" argument(s): "No value exists with that

This issue is intermittent and I suspect this occurs multiple jobs tries to get/remove same session.

Need your help to resolve this. Thanks in advance :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the intermittent failure with Get-SSHTrustedHost | Remove-SSHTrustedHost under concurrent jobs using POSH-SSH 2.2. Investigate the DeleteValue error and whether multiple jobs are operating on the same trusted-host entry; done means the command no longer intermittently reports that no value exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.