[{"data":1,"prerenderedAt":685},["ShallowReactive",2],{"doc:en:\u002Fhosts\u002Fconnectivity":3,"navigation:en":457,"surround:en:\u002Fhosts\u002Fconnectivity":680},{"page":4,"fallback":456},{"id":5,"title":6,"body":7,"description":448,"extension":449,"meta":450,"navigation":451,"path":452,"seo":453,"stem":454,"__hash__":455},"docs_en\u002Fhosts\u002Fconnectivity.md","Connectivity",{"type":8,"value":9,"toc":442},"minimark",[10,25,30,33,41,115,134,150,154,165,210,216,220,228,374,380,384,438],[11,12,13,14,19,20,24],"p",{},"Zekoder connects to the daemon on your computer or server. Desktop and the CLI can tunnel through SSH. Phones connect through the relay or directly over Tailscale. To pair a phone, see ",[15,16,18],"a",{"href":17},"\u002Fgetting-started\u002Fconnect-a-host","Connect a host","; for the trust model behind each option, see ",[15,21,23],{"href":22},"\u002Fhosts\u002Fsecurity","Security",".",[26,27,29],"h2",{"id":28},"ssh","SSH",[11,31,32],{},"SSH transport connects to an existing daemon through your local OpenSSH client. It does not install, start, or configure anything on the remote host.",[11,34,35,36,40],{},"Before connecting, start the daemon on the remote host and confirm ",[37,38,39],"code",{},"ssh user@host"," works with a key or SSH agent. Zekoder uses non-interactive SSH and follows your OpenSSH config.",[42,43,48],"pre",{"className":44,"code":45,"language":46,"meta":47,"style":47},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","zekoder --host ssh:\u002F\u002Fuser@host ls -a\nzekoder --host ssh:\u002F\u002Fuser@host:2222 ls -a                  # 2222 is the SSH port\nzekoder --host 'ssh:\u002F\u002Fuser@host?daemonPort=7777' ls -a     # daemon port on the remote\n","bash","",[37,49,50,72,91],{"__ignoreMap":47},[51,52,55,59,63,66,69],"span",{"class":53,"line":54},"line",1,[51,56,58],{"class":57},"sBMFI","zekoder",[51,60,62],{"class":61},"sfazB"," --host",[51,64,65],{"class":61}," ssh:\u002F\u002Fuser@host",[51,67,68],{"class":61}," ls",[51,70,71],{"class":61}," -a\n",[51,73,75,77,79,82,84,87],{"class":53,"line":74},2,[51,76,58],{"class":57},[51,78,62],{"class":61},[51,80,81],{"class":61}," ssh:\u002F\u002Fuser@host:2222",[51,83,68],{"class":61},[51,85,86],{"class":61}," -a",[51,88,90],{"class":89},"sHwdD","                  # 2222 is the SSH port\n",[51,92,94,96,98,102,105,108,110,112],{"class":53,"line":93},3,[51,95,58],{"class":57},[51,97,62],{"class":61},[51,99,101],{"class":100},"sMK4o"," '",[51,103,104],{"class":61},"ssh:\u002F\u002Fuser@host?daemonPort=7777",[51,106,107],{"class":100},"'",[51,109,68],{"class":61},[51,111,86],{"class":61},[51,113,114],{"class":89},"     # daemon port on the remote\n",[11,116,117,118,121,122,125,126,129,130,133],{},"The daemon is expected at ",[37,119,120],{},"127.0.0.1:6777"," on the remote host. Put ",[37,123,124],{},"--host"," before the command: ",[37,127,128],{},"zekoder daemon status"," reads the local home, ",[37,131,132],{},"zekoder --host ssh:\u002F\u002Fuser@host daemon status"," reads the remote.",[11,135,136,137,141,142,145,146,149],{},"In Desktop, open ",[138,139,140],"strong",{},"Settings → Add host → Remote SSH"," and enter the same ",[37,143,144],{},"ssh:\u002F\u002F"," destination. If the remote daemon has a password, enter it in ",[138,147,148],{},"Daemon password",". SSH login stays key-based; Zekoder never prompts for an SSH password.",[26,151,153],{"id":152},"relay","Relay",[11,155,156,157,160,161,164],{},"The relay needs no Tailscale, port forwarding, or network configuration, and traffic is end-to-end encrypted. It is on by default. A home that had it off is turned on once when the daemon starts, and the app shows a notice with ",[138,158,159],{},"Keep on"," and ",[138,162,163],{},"Turn off",". Turn it off again from the notice or with the command below, and it stays off.",[166,167,168,183,193],"ul",{},[169,170,171,174,175,178,179,182],"li",{},[138,172,173],{},"Desktop:"," ",[138,176,177],{},"Settings → your host → Pair a device",", then scan the QR code or copy the pairing link. If the relay is off, select ",[138,180,181],{},"Enable relay"," first.",[169,184,185,188,189,192],{},[138,186,187],{},"CLI:"," run ",[37,190,191],{},"zekoder daemon pair",", then scan the QR code or paste the link in the phone app. If the relay is off, confirm the prompt.",[169,194,195,198,199,205,206,24],{},[138,196,197],{},"Phone or browser:"," open ",[15,200,204],{"href":201,"rel":202},"https:\u002F\u002Fapp.zekoder.com",[203],"nofollow","app.zekoder.com","; see ",[15,207,209],{"href":208},"\u002Fusing-zekoder\u002Fphone-and-web","Phone and web",[11,211,212,213,24],{},"To turn it off, run ",[37,214,215],{},"zekoder daemon config set daemon.relay.enabled false",[26,217,219],{"id":218},"tailscale","Tailscale",[11,221,222,223,227],{},"Install ",[15,224,219],{"href":225,"rel":226},"https:\u002F\u002Ftailscale.com\u002Fdownload",[203]," on the daemon machine and your phone, signed in to the same tailnet.",[229,230,231,241,338,349],"ol",{},[169,232,233,234,237,238,24],{},"On the daemon machine, run ",[37,235,236],{},"tailscale ip -4"," and copy the address, for example ",[37,239,240],{},"100.101.102.103",[169,242,243,244,247,248,251,252,255,256],{},"Set ",[37,245,246],{},"daemon.listen"," to that address in the daemon's ",[37,249,250],{},"config.json"," (in ",[37,253,254],{},"~\u002F.zekoder"," by default), keeping your other settings:",[42,257,261],{"className":258,"code":259,"language":260,"meta":47,"style":47},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"version\": 1,\n  \"daemon\": {\n    \"listen\": \"100.101.102.103:6777\"\n  }\n}\n","json",[37,262,263,268,290,304,326,332],{"__ignoreMap":47},[51,264,265],{"class":53,"line":54},[51,266,267],{"class":100},"{\n",[51,269,270,273,277,280,283,287],{"class":53,"line":74},[51,271,272],{"class":100},"  \"",[51,274,276],{"class":275},"spNyl","version",[51,278,279],{"class":100},"\"",[51,281,282],{"class":100},":",[51,284,286],{"class":285},"sbssI"," 1",[51,288,289],{"class":100},",\n",[51,291,292,294,297,299,301],{"class":53,"line":93},[51,293,272],{"class":100},[51,295,296],{"class":275},"daemon",[51,298,279],{"class":100},[51,300,282],{"class":100},[51,302,303],{"class":100}," {\n",[51,305,307,310,313,315,317,320,323],{"class":53,"line":306},4,[51,308,309],{"class":100},"    \"",[51,311,312],{"class":57},"listen",[51,314,279],{"class":100},[51,316,282],{"class":100},[51,318,319],{"class":100}," \"",[51,321,322],{"class":61},"100.101.102.103:6777",[51,324,325],{"class":100},"\"\n",[51,327,329],{"class":53,"line":328},5,[51,330,331],{"class":100},"  }\n",[51,333,335],{"class":53,"line":334},6,[51,336,337],{"class":100},"}\n",[169,339,340,341,344,345,348],{},"Restart the daemon with ",[37,342,343],{},"zekoder daemon restart",", or ",[138,346,347],{},"Settings → your host → Overview → Restart daemon"," if Desktop manages it.",[169,350,351,352,355,356,160,359,362,363,366,367,370,371,24],{},"On the phone, connect Tailscale, then ",[138,353,354],{},"Settings → Add host → Direct connection",". Enter the Tailscale IP as ",[138,357,358],{},"Host",[37,360,361],{},"6777"," as ",[138,364,365],{},"Port",". Leave ",[138,368,369],{},"Use SSL"," off and select ",[138,372,373],{},"Connect",[11,375,376,377,24],{},"If the host was already paired through the relay, the direct connection is added to the same host. Set a password before binding to a network address; see ",[15,378,23],{"href":379},"\u002Fhosts\u002Fsecurity#password-authentication",[26,381,383],{"id":382},"troubleshooting","Troubleshooting",[166,385,386,398,406,412,418,426],{},[169,387,388,188,391,393,394,397],{},[138,389,390],{},"SSH authentication failed:",[37,392,39],{}," in a terminal and fix the key, agent, host key, or ",[37,395,396],{},"~\u002F.ssh\u002Fconfig"," entry there.",[169,399,400,188,403,405],{},[138,401,402],{},"SSH connects but Zekoder is refused:",[37,404,128],{}," on the remote host. SSH transport does not start the daemon.",[169,407,408,411],{},[138,409,410],{},"\"Password required\" over SSH:"," remove the SSH connection and add it again with the daemon password.",[169,413,414,417],{},[138,415,416],{},"Connection timed out:"," check that Tailscale is connected on both devices and that you used the daemon machine's Tailscale IP.",[169,419,420,188,423,425],{},[138,421,422],{},"Connection refused:",[37,424,128],{}," and confirm the daemon listens on the configured IP and port.",[169,427,428,188,431,434,435,437],{},[138,429,430],{},"Config change has no effect:",[37,432,433],{},"zekoder reload",". ",[37,436,246],{}," is a startup setting, so restart when the command says so.",[439,440,441],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":47,"searchDepth":74,"depth":74,"links":443},[444,445,446,447],{"id":28,"depth":74,"text":29},{"id":152,"depth":74,"text":153},{"id":218,"depth":74,"text":219},{"id":382,"depth":74,"text":383},"Connect Zekoder to a daemon over SSH, the relay, or Tailscale.","md",{},{"order":306},"\u002Fhosts\u002Fconnectivity",{"title":6,"description":448},"hosts\u002Fconnectivity","IdIebCLytaLA_eKgDY7io5WAOaRXvhUW6vzmkn5I088",false,[458,463,482,502,554,571,614,647,661,675],{"title":459,"path":460,"stem":461,"order":462},"Zekoder documentation","\u002F","index",-1,{"title":464,"path":465,"stem":466,"children":467,"page":456},"Getting started","\u002Fgetting-started","getting-started",[468,472,476,478],{"title":469,"path":470,"stem":471},"Install","\u002Fgetting-started\u002Finstall","getting-started\u002Finstall",{"title":473,"path":474,"stem":475,"order":54},"Quick start","\u002Fgetting-started\u002Fquick-start","getting-started\u002Fquick-start",{"title":18,"path":17,"stem":477,"order":74},"getting-started\u002Fconnect-a-host",{"title":479,"path":480,"stem":481,"order":93},"Install on a remote machine","\u002Fgetting-started\u002Fremote-host","getting-started\u002Fremote-host",{"title":483,"path":484,"stem":485,"children":486,"page":456},"Hosts","\u002Fhosts","hosts",[487,489,493,497,501],{"title":23,"path":22,"stem":488},"hosts\u002Fsecurity",{"title":490,"path":491,"stem":492,"order":54},"The built-in host","\u002Fhosts\u002Fbuilt-in-host","hosts\u002Fbuilt-in-host",{"title":494,"path":495,"stem":496,"order":74},"Update a remote host","\u002Fhosts\u002Fupdate-a-remote-host","hosts\u002Fupdate-a-remote-host",{"title":498,"path":499,"stem":500,"order":93},"Register a remote host on a host","\u002Fhosts\u002Fregister-a-remote-host","hosts\u002Fregister-a-remote-host",{"title":6,"path":452,"stem":454,"order":306},{"title":503,"path":504,"stem":505,"children":506},"Supported providers","\u002Fproviders","providers",[507,510,514,518,522,526,530,534,539,544,549],{"title":503,"path":504,"stem":508,"order":509},"providers\u002Findex",0,{"title":511,"path":512,"stem":513,"order":54},"Antigravity","\u002Fproviders\u002Fantigravity","providers\u002Fantigravity",{"title":515,"path":516,"stem":517,"order":74},"Claude Code","\u002Fproviders\u002Fclaude-code","providers\u002Fclaude-code",{"title":519,"path":520,"stem":521,"order":93},"Codex","\u002Fproviders\u002Fcodex","providers\u002Fcodex",{"title":523,"path":524,"stem":525,"order":306},"fx","\u002Fproviders\u002Ffx","providers\u002Ffx",{"title":527,"path":528,"stem":529,"order":328},"GitHub Copilot","\u002Fproviders\u002Fgithub-copilot","providers\u002Fgithub-copilot",{"title":531,"path":532,"stem":533,"order":334},"Hoplite","\u002Fproviders\u002Fhoplite","providers\u002Fhoplite",{"title":535,"path":536,"stem":537,"order":538},"Muse Code","\u002Fproviders\u002Fmuse-code","providers\u002Fmuse-code",7,{"title":540,"path":541,"stem":542,"order":543},"Oh My Pi","\u002Fproviders\u002Fomp","providers\u002Fomp",8,{"title":545,"path":546,"stem":547,"order":548},"OpenCode","\u002Fproviders\u002Fopencode","providers\u002Fopencode",9,{"title":550,"path":551,"stem":552,"order":553},"Pi","\u002Fproviders\u002Fpi","providers\u002Fpi",10,{"title":555,"path":556,"stem":557,"children":558,"page":456},"Reference","\u002Freference","reference",[559,563,567],{"title":560,"path":561,"stem":562,"order":54},"CLI reference","\u002Freference\u002Fcli","reference\u002Fcli",{"title":564,"path":565,"stem":566,"order":54},"Plugin reference","\u002Freference\u002Fplugins","reference\u002Fplugins",{"title":568,"path":569,"stem":570,"order":74},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"title":572,"path":573,"stem":574,"children":575,"page":456},"Using Zekoder","\u002Fusing-zekoder","using-zekoder",[576,580,584,588,592,596,600,604,608,612],{"title":577,"path":578,"stem":579,"order":54},"Projects and workspaces","\u002Fusing-zekoder\u002Fprojects-and-workspaces","using-zekoder\u002Fprojects-and-workspaces",{"title":581,"path":582,"stem":583,"order":74},"Agents and the composer","\u002Fusing-zekoder\u002Fagents","using-zekoder\u002Fagents",{"title":585,"path":586,"stem":587,"order":74},"Worktree setup and teardown","\u002Fusing-zekoder\u002Fworktrees","using-zekoder\u002Fworktrees",{"title":589,"path":590,"stem":591,"order":93},"Review changes","\u002Fusing-zekoder\u002Freview-changes","using-zekoder\u002Freview-changes",{"title":593,"path":594,"stem":595,"order":306},"Keyboard shortcuts","\u002Fusing-zekoder\u002Fkeyboard-shortcuts","using-zekoder\u002Fkeyboard-shortcuts",{"title":597,"path":598,"stem":599,"order":328},"Settings and updates","\u002Fusing-zekoder\u002Fsettings-and-updates","using-zekoder\u002Fsettings-and-updates",{"title":601,"path":602,"stem":603,"order":334},"Metadata generation","\u002Fusing-zekoder\u002Fmetadata-generation","using-zekoder\u002Fmetadata-generation",{"title":605,"path":606,"stem":607,"order":538},"Schedules","\u002Fusing-zekoder\u002Fschedules","using-zekoder\u002Fschedules",{"title":609,"path":610,"stem":611,"order":543},"Orchestration skills","\u002Fusing-zekoder\u002Fskills","using-zekoder\u002Fskills",{"title":209,"path":208,"stem":613,"order":548},"using-zekoder\u002Fphone-and-web",{"title":615,"path":616,"stem":617,"children":618,"page":456},"Zekoder workflow","\u002Fzekoder-workflow","zekoder-workflow",[619,623,627,631,635,639,643],{"title":620,"path":621,"stem":622,"order":54},"How the workflow works","\u002Fzekoder-workflow\u002Foverview","zekoder-workflow\u002Foverview",{"title":624,"path":625,"stem":626,"order":74},"Commands","\u002Fzekoder-workflow\u002Fcommands","zekoder-workflow\u002Fcommands",{"title":628,"path":629,"stem":630,"order":93},"The Issues screen","\u002Fzekoder-workflow\u002Fissues","zekoder-workflow\u002Fissues",{"title":632,"path":633,"stem":634,"order":306},"Project settings","\u002Fzekoder-workflow\u002Fproject-settings","zekoder-workflow\u002Fproject-settings",{"title":636,"path":637,"stem":638,"order":328},"Coding health reports","\u002Fzekoder-workflow\u002Freports","zekoder-workflow\u002Freports",{"title":640,"path":641,"stem":642,"order":334},"Versions and updates","\u002Fzekoder-workflow\u002Fversion","zekoder-workflow\u002Fversion",{"title":644,"path":645,"stem":646,"order":538},"Error codes","\u002Fzekoder-workflow\u002Ferror-codes","zekoder-workflow\u002Ferror-codes",{"title":648,"order":649,"path":650,"stem":651,"children":652,"page":456},"Productivity tips",50,"\u002Fproductivity-tips","productivity-tips",[653,657],{"title":654,"path":655,"stem":656,"order":54},"Background tasks","\u002Fproductivity-tips\u002Fbackground-tasks","productivity-tips\u002Fbackground-tasks",{"title":658,"path":659,"stem":660,"order":74},"Agent-to-agent messaging","\u002Fproductivity-tips\u002Fagent-messaging","productivity-tips\u002Fagent-messaging",{"title":662,"order":663,"path":664,"stem":665,"children":666,"page":456},"FAQs",98,"\u002Ffaq","faq",[667,671],{"title":668,"path":669,"stem":670,"order":54},"Codex related FAQs","\u002Ffaq\u002Fcodex","faq\u002Fcodex",{"title":672,"path":673,"stem":674,"order":74},"Linux related FAQs","\u002Ffaq\u002Flinux","faq\u002Flinux",{"title":676,"path":677,"stem":678,"order":679},"What changed","\u002Fwhats-changed","whats-changed",99,[681,683],{"title":490,"path":491,"stem":492,"description":682,"order":54,"children":-1},"The daemon Zekoder Desktop runs on your computer, how to manage it, and how it updates.",{"title":498,"path":499,"stem":500,"description":684,"order":93,"children":-1},"Save a remote host on one of your hosts so its agents and workspaces can find and use it.",1796318316798]