Title: don't override Port in ssh_config · Issue #11432 · PowerShell/PowerShell · GitHub
Open Graph Title: don't override Port in ssh_config · Issue #11432 · PowerShell/PowerShell
X Title: don't override Port in ssh_config · Issue #11432 · PowerShell/PowerShell
Description: request: don't override Port directive in ssh_config Similar to #11344, the StartSSHProcess() function always passes a -p
Open Graph Description: request: don't override Port directive in ssh_config Similar to #11344, the StartSSHProcess() function always passes a -p
X Description: request: don't override Port directive in ssh_config Similar to #11344, the StartSSHProcess() function always passes a -p <port> command line argument to the underlying operating system...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11432
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"don't override Port in ssh_config","articleBody":"### request: don't override `Port` directive in ssh_config\r\n\r\nSimilar to #11344, the StartSSHProcess() function always passes a `-p \u003cport>` command line argument to the underlying operating system's ssh client even when `-Port \u003cport>` is not passed to the *PSSession cmdlets.\r\n\r\nThis overrides the `Port \u003cport>` directive that a system administrator might have set in an ssh_config file.\r\n\r\nThe ssh client already assumes port 22 and it is not necessary to provide a default port from the StartSSHProcess() function.\r\n\r\nThis is not as problematic as #11344 since sshd is typically deployed to listen on port 22. Nevertheless, it's not appropriate to override ssh_config directives unless `-Port \u003cport>` is passed to cmdlets explicitly.\r\n\r\nAs a system administrator, I want to generate ssh configuration files containing directives that aren't overriden by PowerShell's invocation of ssh.\r\n\r\n### proposal: do not pass `-p \u003cport>` to ssh client unless `-Port \u003cport>` is passed to cmdlets\r\n\r\nWhen invoking *PSSession cmdlets, if `-Port \u003cport>` isn't used , then don't pass `-p \u003cport>` as a command line argument to the ssh client.\r\n","author":{"url":"https://github.com/LucaFilipozzi","@type":"Person","name":"LucaFilipozzi"},"datePublished":"2019-12-24T17:52:17Z","url":"https://github.com/PowerShell/PowerShell/issues/11432"}
| 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:0397ea71-a727-5fea-c711-9c470457cca0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3EC:BB03C:E584B:1423FF:6AFD4C77 |
| html-safe-nonce | ea066fc377d5e82700804639a145ec24f5a0249b5103ed8453d96bfc4f052ce5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0VDOkJCMDNDOkU1ODRCOjE0MjNGRjo2QUZENEM3NyIsInZpc2l0b3JfaWQiOiI3NDU0MTI0MDYyODAxNzQyOTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f88323666f6875de1610c5c6908cf0b8b2183b266260cd76a482d355b5dde627 |
| hovercard-subject-tag | issue:542185346 |
| 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/11432/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ea9c01bb70e4330d6018c87566804ab08d9820b7722c4d7a91ed4dca036c144/PowerShell/PowerShell/issues/11432 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ea9c01bb70e4330d6018c87566804ab08d9820b7722c4d7a91ed4dca036c144/PowerShell/PowerShell/issues/11432 |
| og:image:alt | request: don't override Port directive in ssh_config Similar to #11344, the StartSSHProcess() function always passes a -p |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LucaFilipozzi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width