Title: [MSYS BUG][Reason Discovered] ~ is resolved to msys home instead of remote home · Issue #180 · coder/sshcode · GitHub
Open Graph Title: [MSYS BUG][Reason Discovered] ~ is resolved to msys home instead of remote home · Issue #180 · coder/sshcode
X Title: [MSYS BUG][Reason Discovered] ~ is resolved to msys home instead of remote home · Issue #180 · coder/sshcode
Description: NOTICE: This first post is for when using sshcode user@server ~/X paths, DISCLAIMER: This example was shown to affect both sshcode 10 builds and custom builds that use code-server 3.X When you feed sshcode ~/ instead of "~/", it will att...
Open Graph Description: NOTICE: This first post is for when using sshcode user@server ~/X paths, DISCLAIMER: This example was shown to affect both sshcode 10 builds and custom builds that use code-server 3.X When you feed...
X Description: NOTICE: This first post is for when using sshcode user@server ~/X paths, DISCLAIMER: This example was shown to affect both sshcode 10 builds and custom builds that use code-server 3.X When you feed...
Opengraph URL: https://github.com/coder/sshcode/issues/180
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MSYS BUG][Reason Discovered] ~ is resolved to msys home instead of remote home","articleBody":"### NOTICE: This first post is for when using `sshcode user@server ~/X` paths, \r\n**DISCLAIMER: This example was shown to affect both sshcode 10 builds and custom builds that use code-server 3.X**\r\n\r\nWhen you feed sshcode `~/` instead of `\"~/\"`, it will attempt to use the local `~/` path.\r\nfor example if your user is `merith` and the remote user is `developer`\r\nwhen you feed sshcode `~/Workspace` it will attempt to open `/home/merith/Workspace` instead of `/home/developer/Workspace`\r\n\r\noutput from a shell giving this error\r\n```$ sshcode.exe developer@192.168.115 --skipsync ~/Workspace\r\n2020-05-11 12:26:24 ←[94mINFO←[0m OS is windows, disabling connection reuse feature\r\n2020-05-11 12:26:24 ←[94mINFO←[0m ensuring code-server is updated...\r\n++ uname -m\r\n+ '[' x86_64 '!=' x86_64 ']'\r\n+ pkill -f /home/developer/.sshcode-server\r\n+ true\r\n+ mkdir -p /home/developer/.sshcode-server\r\n+ cd /home/developer/.sshcode-server\r\n+ '[' '!' -d code-server-3.2.0-linux-x86_64 ']'\r\n2020-05-11 12:26:27 ←[94mINFO←[0m starting code-server...\r\n2020-05-11 12:26:27 ←[94mINFO←[0m Tunneling remote port 33885 to 127.0.0.1:24586\r\ninfo code-server 3.2.0 fd36a99a4c78669970ebc4eb05768293b657716f\r\ninfo HTTP server listening on http://127.0.0.1:33885\r\ninfo - No authentication\r\ninfo - Not serving HTTPS\r\ninfo Automatic updates are enabled\r\nwarn ENOENT: no such file or directory, stat '/home/Merith/Workspace'\r\nwarn ENOENT: no such file or directory, stat '/home/Merith/Workspace'\r\n```\r\n## What fixes this.\r\n#### These work\r\n```\r\nsshcode user@server \"~/Workspace\"\r\nsshcode user@server \\~/Workspace\r\nsshcode user@server Workspace\r\nsshcode user@server /opt/Workspace\r\nsshcode user@server /home/user/Workspace\r\n```\r\n#### This dont work\r\n`sshcode user@server ~/Workspace`\r\n","author":{"url":"https://github.com/Merith-TK","@type":"Person","name":"Merith-TK"},"datePublished":"2020-05-11T18:43:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/180/sshcode/issues/180"}
| 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:61fcfbc2-cbe6-24f9-21a0-05bb44184dc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84EE:49A98:BACFFF:10515D7:6968DB5D |
| html-safe-nonce | ce171c8d1218a5dd185c6883f9d1cd2b83af8e74fe397f833bfa4cc3f72a4503 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEVFOjQ5QTk4OkJBQ0ZGRjoxMDUxNUQ3OjY5NjhEQjVEIiwidmlzaXRvcl9pZCI6IjE0MzQ2OTcxOTUyMjEyMTE5OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4de2969cfc01f42f60f81419cedbb86e47ad1162b32f0e97b96125d573482a25 |
| hovercard-subject-tag | issue:616099571 |
| 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/coder/sshcode/180/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb2a337bcdeec7eb7ba15e31d4947ef927deeb067114ae7a2d33b71624657ef7/coder/sshcode/issues/180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb2a337bcdeec7eb7ba15e31d4947ef927deeb067114ae7a2d33b71624657ef7/coder/sshcode/issues/180 |
| og:image:alt | NOTICE: This first post is for when using sshcode user@server ~/X paths, DISCLAIMER: This example was shown to affect both sshcode 10 builds and custom builds that use code-server 3.X When you feed... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Merith-TK |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c4e9f2fc1db52c609205138be6a397cfde4574cb54d53015014de30dd49f27e |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/sshcode git https://github.com/coder/sshcode.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 182143383 |
| octolytics-dimension-repository_nwo | coder/sshcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 182143383 |
| octolytics-dimension-repository_network_root_nwo | coder/sshcode |
| 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 | 1fb1ea11f8c37dd4dd50347cca70d89824e93788 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width