[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"auth:me":3,"site-config":5,"doc-en-guides\u002Fssh-tunnel":95},{"user":4,"membership":4},null,{"settings":6,"products":22,"navigation":37,"oauth":88,"endpoints":90},{"site.name":7,"site.tagline":8,"site.description":9,"site.tagline.en":10,"site.description.en":11,"site.keywords":12,"site.icp":13,"site.police":14,"site.contact_email":15,"site.company":16,"site.copyright":16,"site.social.github":17,"site.social.x":16,"site.social.wechat":16,"site.support_url":16,"site.announcement":16,"trial.enabled":18,"trial.days":19,"trial.grant_on":20,"trial.enabled_at":16,"site.url":21},"DSH Remote","管理远端 DSH 的客户端：装、连、转、用一个窗口。","DSH Remote 是 DeepSeek Harness 的远程客户端：装好、连上、转发、打开，四件事一个窗口。","The remote client for DeepSeek Harness: install, connect, forward, work.","DSH Remote is the remote client for DeepSeek Harness: four jobs, one window.","DeepSeek Harness,DSH,DSH Remote,远程客户端,SSH 多环境,端口转发,DSH 生命周期,dsh-devtools,VSCode Remote,远程开发,AI 编程","赣ICP备2026027330号-1","赣公网安备36112402000139号","support@dshremote.cn","","https:\u002F\u002Fgithub.com\u002Fzhanglaian\u002Fdsh-remote",true,7,"register","https:\u002F\u002Fdshremote.cn",[23,31],{"slug":24,"name":25,"kind":26,"summary":27,"icon":28,"latestVersion":29,"minSupportedVersion":30},"dsh-remote","DSH Remote 桌面端","desktop","Windows \u002F macOS \u002F Linux 桌面客户端","i-lucide-monitor","1.2.0","0.8.0",{"slug":32,"name":33,"kind":34,"summary":35,"icon":36,"latestVersion":4,"minSupportedVersion":4},"dsh-mobile","DSH Remote 手机端","mobile","Android \u002F iOS 手机客户端","i-lucide-smartphone",{"main":38,"footer":63},[39,43,47,51,55,59],{"key":40,"to":41,"icon":42},"nav.download","\u002Fdownload","i-lucide-download",{"key":44,"to":45,"icon":46},"nav.pricing","\u002Fpricing","i-lucide-tag",{"key":48,"to":49,"icon":50},"nav.docs","\u002Fdocs","i-lucide-book-open",{"key":52,"to":53,"icon":54},"nav.blog","\u002Fblog","i-lucide-newspaper",{"key":56,"to":57,"icon":58},"nav.changelog","\u002Fchangelog","i-lucide-list",{"key":60,"to":61,"icon":62},"nav.about","\u002Fabout","i-lucide-info",[64,70,79],{"titleKey":65,"items":66},"footer.product",[67,68,69],{"key":40,"to":41},{"key":44,"to":45},{"key":56,"to":57},{"titleKey":71,"items":72},"footer.resources",[73,74,75,76],{"key":48,"to":49},{"key":52,"to":53},{"key":60,"to":61},{"key":77,"to":78},"nav.contact","\u002Fcontact",{"titleKey":80,"items":81},"footer.legal",[82,85],{"key":83,"to":84},"nav.privacy","\u002Flegal\u002Fprivacy",{"key":86,"to":87},"nav.terms","\u002Flegal\u002Fterms",{"providers":89},[],{"policy":91,"desktopLatest":92,"appLatest":93,"announcements":94},"\u002Fapi\u002Fv1\u002Fclient\u002Fpolicy","\u002Fapi\u002Fv1\u002Fdesktop\u002Flatest","\u002Fapi\u002Fv1\u002Fapp\u002Flatest","\u002Fapi\u002Fv1\u002Fannouncements",{"doc":96,"locale":140,"requestedLocale":140,"fallback":141,"tree":142,"nav":188},{"slug":97,"title":98,"html":99,"toc":100,"updatedAt":135,"publishedAt":136,"seoTitle":137,"seoDescription":138,"ogImage":4,"canonical":4,"keywords":4,"faq":139},"guides\u002Fssh-tunnel","SSH troubleshooting: when it will not connect and pages will not open","\u003Cp>This page is for when the app will not connect, or it connects but a page will not open. Work through the steps in order; three usually settle it.\u003C\u002Fp>\n\u003Cp>The client reaches your dev machine over the login channel you already use (SSH, the encrypted command-line protocol for logging into a remote machine). That traffic never passes through our servers. Each step asks one question — do not skip around.\u003C\u002Fp>\n\u003Ch2 id=\"step-0-sort-the-failure-into-one-of-three-groups\">Step 0: sort the failure into one of three groups\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Symptom\u003C\u002Fth>\n\u003Cth>Most likely place\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>Never connects; status light red or amber\u003C\u002Ftd>\n\u003Ctd>The route from you to the dev machine (network \u002F SSH)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Connects, but the page is blank, 502, or connection refused\u003C\u002Ftd>\n\u003Ctd>The service itself or a forwarding rule\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>The DSH page works, one other page does not\u003C\u002Ftd>\n\u003Ctd>One forwarding rule, or that service\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Ch2 id=\"step-1-read-what-the-client-already-said\">Step 1: read what the client already said\u003C\u002Fh2>\n\u003Cp>Always in this order: \u003Cstrong>the failure on the page → the rule state in Settings → the \u003Ccode>[dsh remote]\u003C\u002Fcode> log\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>The page states the reason, for example \u003Ccode>connect ECONNREFUSED 127.0.0.1:5173\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Under Settings → Forwarding rules the rule shows listening \u002F starting \u002F failed \u002F not started.\u003C\u002Fli>\n\u003Cli>The terminal log holds the probe, any address it switched to, and the failure.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"step-2-is-the-service-actually-listening-on-the-dev-machine\">Step 2: is the service actually listening on the dev machine?\u003C\u002Fh2>\n\u003Cp>Log in and run:\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#6F42C1;--shiki-dark:#B392F0\">ss\u003C\u002Fspan>\u003Cspan style=\"color:#005CC5;--shiki-dark:#79B8FF\"> -lntp\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>Look for your port. If it is not there, the service never started or died again — nothing to do with the client.\u003C\u002Fp>\n\u003Cp>If it is there and you still cannot connect, the address family is the usual suspect: the service listens on \u003Ccode>localhost\u003C\u002Fcode> while the client connects to \u003Ccode>127.0.0.1\u003C\u002Fcode>. Both mean &quot;this machine&quot;, but not always the same thing.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>The client retries the other side automatically and says so in the log.\u003C\u002Fli>\n\u003Cli>You can set the remote host to \u003Ccode>::1\u003C\u002Fcode>, or make the service listen on both.\u003C\u002Fli>\n\u003Cli>Since Node 18, \u003Ccode>localhost\u003C\u002Fcode> resolves to \u003Ccode>::1\u003C\u002Fcode> first, so an IPv6-only service always refuses \u003Ccode>127.0.0.1\u003C\u002Fcode>.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"step-3-is-the-local-port-taken\">Step 3: is the local port taken?\u003C\u002Fh2>\n\u003Cp>If the failure says the address is already in use (\u003Ccode>EADDRINUSE\u003C\u002Fcode>), set that rule's local port to \u003Ccode>0\u003C\u002Fcode> so the system picks a free one — or choose a different fixed port.\u003C\u002Fp>\n\u003Ch2 id=\"step-4-does-the-dev-machine-allow-forwarding\">Step 4: does the dev machine allow forwarding?\u003C\u002Fh2>\n\u003Cp>The SSH server can refuse port forwarding. The error is usually \u003Ccode>administratively prohibited\u003C\u002Fcode> \u002F \u003Ccode>open failed\u003C\u002Fcode>, and \u003Ccode>AllowTcpForwarding\u003C\u002Fcode> has to be enabled in that machine's \u003Ccode>sshd_config\u003C\u002Fcode> — or ask whoever owns it.\u003C\u002Fp>\n\u003Ch2 id=\"step-5-why-did-automatic-forwarding-not-kick-in\">Step 5: why did automatic forwarding not kick in?\u003C\u002Fh2>\n\u003Cp>First check whether the status line says it cannot read the port snapshot: automatic forwarding needs the companion plugin in the remote DSH.\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#6F42C1;--shiki-dark:#B392F0\">dsh\u003C\u002Fspan>\u003Cspan style=\"color:#032F62;--shiki-dark:#9ECBFF\"> plugin\u003C\u002Fspan>\u003Cspan style=\"color:#005CC5;--shiki-dark:#79B8FF\"> --profile\u003C\u002Fspan>\u003Cspan style=\"color:#032F62;--shiki-dark:#9ECBFF\"> web\u003C\u002Fspan>\u003Cspan style=\"color:#032F62;--shiki-dark:#9ECBFF\"> add\u003C\u002Fspan>\u003Cspan style=\"color:#032F62;--shiki-dark:#9ECBFF\"> @zhangzhian\u002Fdsh-devtools\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>Restart DSH afterwards; a client-installed runtime already includes it.\u003C\u002Fp>\n\u003Cp>Then check whether the service descends from DSH:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Started outside DSH with \u003Ccode>nohup\u003C\u002Fcode>, pm2, systemd, screen or tmux — invisible.\u003C\u002Fli>\n\u003Cli>DSH in a container while you connect to the host (or the reverse) — invisible.\u003C\u002Fli>\n\u003Cli>Bound to a specific interface, such as \u003Ccode>192.168.1.5:8081\u003C\u002Fcode> — invisible.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>All three are solved by adding a rule by hand under \u003Cstrong>Settings → Forwarding rules\u003C\u002Fstrong>; manual rules do not need the plugin. Details are in \u003Ca href=\"\u002Fen\u002Fdocs\u002Fguides\u002Fremote-debug\">Live debugging\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"step-6-is-it-asking-for-a-password\">Step 6: is it asking for a password?\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>A sign-in box inside the page\u003C\u002Fstrong>: that is the remote page protecting itself. Tick &quot;Remember password&quot; and the credential is encrypted in the system key store.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A fingerprint to confirm on first connect\u003C\u002Fstrong>: that is how the client verifies the server (TOFU, trust on first use). Confirm once and it is remembered; a later change turns red, meaning someone may be impersonating it.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"step-7-remember-that-local-listeners-bind-127001\">Step 7: remember that local listeners bind 127.0.0.1\u003C\u002Fh2>\n\u003Cp>That is deliberate: every forwarded port listens on \u003Ccode>127.0.0.1\u003C\u002Fcode> only, so other machines on your network cannot reach the tunnel. The client does not offer an option to listen more widely.\u003C\u002Fp>\n\u003Ch2 id=\"common-symptoms\">Common symptoms\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Symptom\u003C\u002Fth>\n\u003Cth>Usually means\u003C\u002Fth>\n\u003Cth>What to do\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>Service is running, connection refused\u003C\u002Ftd>\n\u003Ctd>It listens on the other address family\u003C\u002Ftd>\n\u003Ctd>See step 2, or make it listen on both\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Nothing is running\u003C\u002Ftd>\n\u003Ctd>No process on that port\u003C\u002Ftd>\n\u003Ctd>See step 2, start the service\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Page opens but stays blank\u003C\u002Ftd>\n\u003Ctd>The request arrived, the machine sent nothing\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>curl\u003C\u002Fcode> the port on the dev machine, then read the log\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>&quot;Address already in use&quot;\u003C\u002Ftd>\n\u003Ctd>Something local holds that port\u003C\u002Ftd>\n\u003Ctd>Set the local port to \u003Ccode>0\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Rule state is &quot;not started&quot;\u003C\u002Ftd>\n\u003Ctd>SSH is not connected yet\u003C\u002Ftd>\n\u003Ctd>Connect SSH first\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Status line cannot read the port snapshot\u003C\u002Ftd>\n\u003Ctd>dsh-devtools is missing remotely\u003C\u002Ftd>\n\u003Ctd>See step 5\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Page says it is reconnecting\u003C\u002Ftd>\n\u003Ctd>The page noticed the network dropped\u003C\u002Ftd>\n\u003Ctd>Let it reconnect; the address does not change\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Ch2 id=\"after-a-disconnect\">After a disconnect\u003C\u002Fh2>\n\u003Cp>Dropping the connection only stops the channel: same address, no reload, no popup. Reconnects are automatic (1 \u002F 2 \u002F 4 \u002F 8 \u002F 15 second backoff). Authentication failures, fingerprint changes and unreadable keys are not retried, so a bad password never gets your IP banned by fail2ban.\u003C\u002Fp>\n\u003Ch2 id=\"still-stuck\">Still stuck?\u003C\u002Fh2>\n\u003Cp>Send us the last lines of the terminal log together with the failure shown on the page — that is usually enough to pin it down.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>How forwarding works: \u003Ca href=\"\u002Fen\u002Fdocs\u002Fguides\u002Fremote-debug\">Live debugging\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>The whole product: \u003Ca href=\"\u002Fen\u002Fdocs\u002Fgetting-started\u002Foverview\">What is DSH Remote?\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Quick answers: \u003Ca href=\"\u002Fen\u002Fdocs\u002Ffaq\">FAQ\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n",[101,105,108,111,114,117,120,123,126,129,132],{"level":102,"text":103,"id":104},2,"Step 0: sort the failure into one of three groups","step-0-sort-the-failure-into-one-of-three-groups",{"level":102,"text":106,"id":107},"Step 1: read what the client already said","step-1-read-what-the-client-already-said",{"level":102,"text":109,"id":110},"Step 2: is the service actually listening on the dev machine?","step-2-is-the-service-actually-listening-on-the-dev-machine",{"level":102,"text":112,"id":113},"Step 3: is the local port taken?","step-3-is-the-local-port-taken",{"level":102,"text":115,"id":116},"Step 4: does the dev machine allow forwarding?","step-4-does-the-dev-machine-allow-forwarding",{"level":102,"text":118,"id":119},"Step 5: why did automatic forwarding not kick in?","step-5-why-did-automatic-forwarding-not-kick-in",{"level":102,"text":121,"id":122},"Step 6: is it asking for a password?","step-6-is-it-asking-for-a-password",{"level":102,"text":124,"id":125},"Step 7: remember that local listeners bind 127.0.0.1","step-7-remember-that-local-listeners-bind-127001",{"level":102,"text":127,"id":128},"Common symptoms","common-symptoms",{"level":102,"text":130,"id":131},"After a disconnect","after-a-disconnect",{"level":102,"text":133,"id":134},"Still stuck?","still-stuck","2026-11-03T05:04:03.000Z","2026-10-05T03:11:53.000Z","SSH troubleshooting: no connection, blank page","A step-by-step order for failed connections and blank pages: client errors, remote listening, local ports, AllowTcpForwarding, plugin prerequisite.",[],"en",false,[143,162,174,183],{"slug":144,"title":145,"children":146,"order":151},"getting-started","Getting Started",[147,152,157],{"slug":148,"title":149,"children":150,"order":151},"getting-started\u002Foverview","What is DSH Remote? Four capabilities, five platforms, pricing",[],5,{"slug":153,"title":154,"children":155,"order":156},"getting-started\u002Finstall","Install DSH Remote",[],10,{"slug":158,"title":159,"children":160,"order":161},"getting-started\u002Fquickstart","Five-minute quickstart",[],11,{"slug":163,"title":164,"children":165,"order":173},"guides","Guides",[166,169],{"slug":97,"title":98,"children":167,"order":168},[],20,{"slug":170,"title":171,"children":172,"order":173},"guides\u002Fremote-debug","Live debugging: how remote services reach your machine, and what to check when a page will not open",[],21,{"slug":175,"title":176,"children":177,"order":182},"reference","Reference",[178],{"slug":179,"title":180,"children":181,"order":182},"reference\u002Fconfig","Settings reference",[],30,{"slug":184,"title":185,"children":186,"order":187},"faq","DSH Remote FAQ: features, pricing, port forwarding",[],99,{"prev":189,"next":190},{"slug":170,"title":171},{"slug":158,"title":159}]