PowerShell / PowerShell/Win32-OpenSSH
How to disable the pwsh Profile loading when using WinSCP?
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
For some reason I am not able to disable the profile loading when trying to do WinSCP session into ssh server.
I was looking at the ForceCommand pwsh.exe -NoProfile and Subsession in sshd_config, to no avail.
What is the correct way to disable profile loading when connecting to the SSH server?
Contributor guide
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
Begin with the reported WinSCP-to-SSH connection and compare the attempted ForceCommand pwsh.exe -NoProfile and Subsession settings in sshd_config. Done means determining and documenting the configuration that disables PowerShell profile loading for this connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100