Title: Enter-PSsession fails CentOS 7.1 to Win 2012 R2 · Issue #2525 · PowerShell/PowerShell · GitHub
Open Graph Title: Enter-PSsession fails CentOS 7.1 to Win 2012 R2 · Issue #2525 · PowerShell/PowerShell
X Title: Enter-PSsession fails CentOS 7.1 to Win 2012 R2 · Issue #2525 · PowerShell/PowerShell
Description: I have installed OpenSSH and PowerShell 6.0.0.11 on my Windows 2012 system and PowerShell 6.0.0.11 on my Centos server but SSH works fine to the windows server so I know that is working and I am seeing the authorizations in my sshd.log b...
Open Graph Description: I have installed OpenSSH and PowerShell 6.0.0.11 on my Windows 2012 system and PowerShell 6.0.0.11 on my Centos server but SSH works fine to the windows server so I know that is working and I am se...
X Description: I have installed OpenSSH and PowerShell 6.0.0.11 on my Windows 2012 system and PowerShell 6.0.0.11 on my Centos server but SSH works fine to the windows server so I know that is working and I am se...
Mail addresses
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2525
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enter-PSsession fails CentOS 7.1 to Win 2012 R2","articleBody":"I have installed OpenSSH and PowerShell 6.0.0.11 on my Windows 2012 system and PowerShell 6.0.0.11 on my Centos server but SSH works fine to the windows server so I know that is working and I am seeing the authorizations in my sshd.log but I get the following error any time I connect using Enter-PSsession\n\n```\nEnter-PSSession : The background process reported an error with the following \nmessage: \"The named pipe target process has ended.\".\nAt line:1 char:1\n+ Enter-PSSession -HostName 172.17.17.227 -UserName administrator\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : ResourceUnavailable: (:) [Enter-PSSession], PSRe \n motingTransportException\n + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemoting \n DataStructureException,Microsoft.PowerShell.Commands.EnterPSSessionCommand\n```\n\nI do have the subsystem for PowerShell defined in SSHD as follows\n\nSubsystem powershell C:/Program Files/PowerShell/6.0.0.11/powershell.exe -sshs -NoLogo -NoProfile\n\nI did run the Install-PowerShellRemoting.ps1 from an admin level powershell 6 shell \n## Steps to reproduce\n\nany attempt to use Enter-PSsession \n## Expected behavior\n\nI should recieve a PS On my windows system \n## Actual behavior\n\nSession Terminates with the following error\n\n```\nEnter-PSSession : The background process reported an error with the following \nmessage: \"The named pipe target process has ended.\".\nAt line:1 char:1\n+ Enter-PSSession -HostName 172.17.17.227 -UserName administrator\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : ResourceUnavailable: (:) [Enter-PSSession], PSRe \n motingTransportException\n + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemoting \n DataStructureException,Microsoft.PowerShell.Commands.EnterPSSessionCommand\n```\n## Environment data\n\n```\nName Value \n---- ----- \nPSVersion 6.0.0-alpha \nPSEdition Core \nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \nBuildVersion 3.0.0.0 \nGitCommitId v6.0.0-alpha.11 \nCLRVersion \nWSManStackVersion 3.0 \nPSRemotingProtocolVersion 2.3 \nSerializationVersion 1.1.0.1 \n```\n","author":{"url":"https://github.com/robertforbes68","@type":"Person","name":"robertforbes68"},"datePublished":"2016-10-23T01:45:59Z","url":"https://github.com/PowerShell/PowerShell/issues/2525"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:63364a15-8c68-9643-08db-60eb7d477d16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8506:128588:3A7749:54CA3A:6AFD803E |
| html-safe-nonce | 7f4e92bf4c0c911c6829ec5a06d2505c395718a9d8f2017f323b294dffa99789 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTA2OjEyODU4ODozQTc3NDk6NTRDQTNBOjZBRkQ4MDNFIiwidmlzaXRvcl9pZCI6IjgzODYzMTEzNjY4MTc3MTAxNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c3946ff278eebb86ad6bd335222a70e68e1ee7d9c7cd1309857a362d3e69edb |
| hovercard-subject-tag | issue:184666042 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/2525/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c14ac84db9e55772f9f7fab5ef5a10247ef15d65bd72260ab3a33ce18b53d9ce/PowerShell/PowerShell/issues/2525 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c14ac84db9e55772f9f7fab5ef5a10247ef15d65bd72260ab3a33ce18b53d9ce/PowerShell/PowerShell/issues/2525 |
| og:image:alt | I have installed OpenSSH and PowerShell 6.0.0.11 on my Windows 2012 system and PowerShell 6.0.0.11 on my Centos server but SSH works fine to the windows server so I know that is working and I am se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | robertforbes68 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width