René's URL Explorer Experiment


Title: Powershell Subsystem Fails when using a banner in OpenSSH · Issue #5142 · PowerShell/PowerShell · GitHub

Open Graph Title: Powershell Subsystem Fails when using a banner in OpenSSH · Issue #5142 · PowerShell/PowerShell

X Title: Powershell Subsystem Fails when using a banner in OpenSSH · Issue #5142 · PowerShell/PowerShell

Description: Using a Banner option within sshd_config causes the connection to fail Banner /etc/ssh/banner If we comment out the Banner line, and restart sshd, client connections work just fine. Steps to reproduce PS /Users/drewstinnett> Enter-PSSess...

Open Graph Description: Using a Banner option within sshd_config causes the connection to fail Banner /etc/ssh/banner If we comment out the Banner line, and restart sshd, client connections work just fine. Steps to reprod...

X Description: Using a Banner option within sshd_config causes the connection to fail Banner /etc/ssh/banner If we comment out the Banner line, and restart sshd, client connections work just fine. Steps to reprod...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5142

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Powershell Subsystem Fails when using a banner in OpenSSH","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n-->\r\n\r\nUsing a Banner option within sshd_config causes the connection to fail\r\n\r\n```\r\nBanner /etc/ssh/banner\r\n```\r\n\r\nIf we comment out the Banner line, and restart sshd, client connections work just fine.\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nPS /Users/drewstinnett> Enter-PSSession -Host host.example.com -SSHTransport -UserName drews\r\nEnter-PSSession : The background process reported an error with the following message: The SSH client session has ended with error message:\r\n####\r\n# Example Banner\r\n####\r\nAt line:1 char:1\r\n+ Enter-PSSession -Host host.example.com -SSHTransport -UserNam ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ResourceUnavailable: (:) [Enter-PSSession], PSRemotingTransportException\r\n    + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.PowerShell.Commands.EnterPSSessionCommand\r\n\r\nPS /Users/drewstinnett>\r\n\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```powershell\r\nPS /Users/drewstinnett> Enter-PSSession -Host host.example.com -SSHTransport -UserName drews\r\n####\r\n# Example Banner\r\n####\r\n[host.example.com]: PS /home/drews>\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```powershell\r\nPS /Users/drewstinnett> Enter-PSSession -Host host.example.com -SSHTransport -UserName drews\r\nEnter-PSSession : The background process reported an error with the following message: The SSH client session has ended with error message:\r\n####\r\n# Example Banner\r\n####\r\nAt line:1 char:1\r\n+ Enter-PSSession -Host host.example.com -SSHTransport -UserNam ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ResourceUnavailable: (:) [Enter-PSSession], PSRemotingTransportException\r\n    + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.PowerShell.Commands.EnterPSSessionCommand\r\n\r\nPS /Users/drewstinnett>\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\nPowerShell v6.0.0-beta.8\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nPS /root> $PSVersionTable\r\n\r\nName                           Value\r\n----                           -----\r\nPSVersion                      6.0.0-beta.8\r\nPSEdition                      Core\r\nGitCommitId                    v6.0.0-beta.8\r\nOS                             Linux 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017\r\nPlatform                       Unix\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\r\n\r\n\r\nPS /root>\r\n```\r\n","author":{"url":"https://github.com/drewstinnett","@type":"Person","name":"drewstinnett"},"datePublished":"2017-10-17T15:37:46Z","url":"https://github.com/PowerShell/PowerShell/issues/5142"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9e57f30e-698e-93ab-bf9c-96e12f6e04ce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAD9C:266CD9:41B676:5C538C:6AFDB7AF
html-safe-nonce037af507c5f14d8e7d35b7520d081ecee721e8c74267abe53ae6d492015409ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDlDOjI2NkNEOTo0MUI2NzY6NUM1MzhDOjZBRkRCN0FGIiwidmlzaXRvcl9pZCI6IjQxOTUzNzUyMTM4ODMyNzUxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3139f7b337769d8c2e39b13eb68240c041fbbaf697e08559419065905705a8f3
hovercard-subject-tagissue:266175465
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/5142/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d3ce0d383db05be4afc69bb4dc9b36823b677be0004e22561972a946cbd0e9fe/PowerShell/PowerShell/issues/5142
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3ce0d383db05be4afc69bb4dc9b36823b677be0004e22561972a946cbd0e9fe/PowerShell/PowerShell/issues/5142
og:image:altUsing a Banner option within sshd_config causes the connection to fail Banner /etc/ssh/banner If we comment out the Banner line, and restart sshd, client connections work just fine. Steps to reprod...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedrewstinnett
hostnamegithub.com
expected-hostnamegithub.com
None8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2f7154d847f1ddc5baa83b109a3e1d924605e2a3
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/5142#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F5142
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F5142
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/5142
Reloadhttps://github.com/PowerShell/PowerShell/issues/5142
Reloadhttps://github.com/PowerShell/PowerShell/issues/5142
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/5142
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/5142
Powershell Subsystem Fails when using a banner in OpenSSHhttps://github.com/PowerShell/PowerShell/issues/5142#top
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-RemotingPSRP issues with any transport layerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Remoting%22
https://github.com/drewstinnett
Drew Stinnett (drewstinnett)https://github.com/drewstinnett
on Oct 17, 2017https://github.com/PowerShell/PowerShell/issues/5142#issue-266175465
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
WG-RemotingPSRP issues with any transport layerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Remoting%22
on Oct 17, 2017https://github.com/PowerShell/PowerShell/issues/5142#event-1297446598
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 17, 2017https://github.com/PowerShell/PowerShell/issues/5142#event-1297446718
https://github.com/PaulHigin
Paul Higinbotham (PaulHigin)https://github.com/PaulHigin
on Oct 20, 2017https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-338315480
Travis Plunk (TravisEz13)https://github.com/TravisEz13
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
on Apr 14, 2018https://github.com/PowerShell/PowerShell/issues/5142#event-1574322610
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
6.1.0-Considerhttps://github.com/PowerShell/PowerShell/milestone/26
Futurehttps://github.com/PowerShell/PowerShell/milestone/48
on Jun 20, 2018https://github.com/PowerShell/PowerShell/issues/5142#event-1692083862
https://github.com/JacobStruiksma
Jacob Struiksma (JacobStruiksma)https://github.com/JacobStruiksma
on May 18, 2020https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-630113963
https://github.com/JacobStruiksma
Jacob Struiksma (JacobStruiksma)https://github.com/JacobStruiksma
on Jan 16, 2021https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-761563517
https://github.com/JacobStruiksma
Jacob Struiksma (JacobStruiksma)https://github.com/JacobStruiksma
on Aug 18, 2021https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-901385753
https://github.com/thukk
thukkhttps://github.com/thukk
on Oct 6, 2021https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-936268440
https://github.com/thukk
thukkhttps://github.com/thukk
on Nov 10, 2022https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-1310597578
https://github.com/JacobStruiksma
Jacob Struiksma (JacobStruiksma)https://github.com/JacobStruiksma
on Nov 24, 2022https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-1326061697
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-1814050507
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-1814050512
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/5142#event-10977850865
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-1814062138
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/5142#issuecomment-1824449120
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Futurehttps://github.com/PowerShell/PowerShell/milestone/48
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/5142#event-11047809807
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/5142#event-11047809857
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/5142
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/5142
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-RemotingPSRP issues with any transport layerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Remoting%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.