darkoperator / darkoperator/Posh-SSH

Set-SCPItem hard lock on macOS

Open
#445 6 comments 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

Running macOS 10.15.7 with PowerShell 7.2.1 and Posh-SSH 3.0.0

When I invoke Set-SCPItem -ComputerName "SCPhost.FQDN" -Credential username /sourcepath/to/file -Destination /, I am prompted for credentials, then pwsh locks up hard: ctrl-c, soft and hard resets don't get the prompt back. Only way to reset is to kill the pwsh process.

The destination is a Windows-based SolarWinds SFTP/SCP server. The file is getting created, with a programatic name (1944953288 0 and repeated attempts generate more files with the same name, followed by _%date%_%time%) but left open at 0K.

Am I doing something wrong?

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

Begin by reproducing the exact Set-SCPItem invocation on macOS 10.15.7 with PowerShell 7.2.1 and Posh-SSH 3.0.0 against the Windows-based SolarWinds server. Investigate the hard lock and the zero-byte, left-open destination file; done means the command returns and the uploaded file is created with its contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, 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.