PowerShell-Docs
PowerShell-Docs copied to clipboard
Remove need to have `-nologo` when used with server modes
Prerequisites
- [X] Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
- [X] Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new
Get-Foo
cmdlet" instead of "New cmdlet."
Summary
Current docs specify the -nologo
switch when setting up SSH remoting: https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-7.3#install-the-ssh-service-on-a-windows-computer
With the change, this switch is no longer required (it'll still work if provided). However, older versions of PS7 will still require this switch so that banner information isn't emitted which breaks SSH remoting.
Details
No response
Articles
https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-7.3#install-the-ssh-service-on-a-windows-computer
Related Source Pull Requests
- https://github.com/PowerShell/PowerShell/pull/17921
Related Source Issues
none