darkoperator / darkoperator/Posh-SSH
Set-SCPFile adding BOM when I don't want it to.
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
There is a bug with Posh-SSH When I try to Set-SCPFile a text file to a redhat server it adds a BOM to it and I cant stop it from doing that.
I can see the file before the transfer doesn't have BOM and when I pull it from the server it does.
I did the same thing manually with secure shell and it doesn't add BOM so I know its POSH-SSH
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Set-SCPFile transfer path and reproduce the report by sending a text file to a Red Hat server, then compare its bytes before and after transfer. Done means Set-SCPFile transfers the file without adding a BOM, while preserving the existing file contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100