Connect a computer
A connected computer (a node) accepts work: terminals and agent sessions open on it from the browser, from your phone and from the desktop app. The computer dials out to LogiShell, so it never opens an incoming port.
It is three steps on every system: open a terminal window, paste one command, approve the computer in the app.
The three steps
- In the app open Settings → Devices → Connect a computer. On the phone: Devices → Get the install line. The app picks the system of the computer you are sitting at; for another computer pick macOS, Linux or Windows.
- On the computer you are connecting, open the window named below, paste the command and press Enter.
- Back in the app the third step fills in by itself. Your first computer connects at once. Every next one waits for you: We see (its name, its system, its space). Is it yours? Press Approve; until you do, that computer can do nothing.
The command already holds a fresh code. The code works once and lives ten minutes. You never need it twice: the pairing is kept on the computer itself.
macOS
Open Terminal (Command and Space, type Terminal).
curl -fsSL 'https://app.logishell.com/install/node' | sh -s -- \
--control 'https://app.logishell.com' --pair '<code>'
Linux
Open any shell, or sign in over SSH. The command is the same as on macOS.
Windows
Open PowerShell (press Start, type PowerShell). Command Prompt works too. No administrator rights are needed.
powershell -NoProfile -Command "& ([scriptblock]::Create((irm 'https://app.logishell.com/install/node.ps1'))) -Control 'https://app.logishell.com' -Pair '<code>'"
Copy the line from the app, with the button: it carries your code, and a
retyped line of this length rarely survives. An older copy of this page showed
the line without powershell -NoProfile -Command "..." around it. That form
runs only inside PowerShell; in Command Prompt it stops at once with
& was unexpected at this time.
What you should see
A healthy run prints, in this order:
downloading lsh-node-...
installed ...
pairing with https://app.logishell.com
paired
LogiShell node ... is running
It takes about a minute. The command downloads the right build of lsh-node,
checks its sha256 (no match, nothing is installed), pairs once with the code,
and leaves a service behind whose own command line no longer holds the code.
| System | What survives a restart | Where the log is |
|---|---|---|
| macOS | LaunchAgent com.logishell.node, starts at login, comes back after a crash | ~/.logishell/node.log |
| Linux | systemd user unit logishell-node (system unit under root) | journalctl --user -u logishell-node -f |
| Linux without systemd | nothing: a background process, and the installer says so | ~/.logishell/node.log |
| Windows | scheduled task LogiShell node | %LOCALAPPDATA%\LogiShell\install.log |
In the app the third step goes through three states: Waiting for the computer, Seen, waiting for you, Approved.
When it does not work
| What you see | What it means | What to do |
|---|---|---|
Windows: & was unexpected at this time | An old form of the command was pasted into Command Prompt | Copy the command again from the app, or open PowerShell |
Windows: 'irm' is not recognized, or A parameter cannot be found that matches parameter name 'fsSL' | A line meant for another window: a PowerShell line in Command Prompt, or the macOS and Linux line in PowerShell | In the app pick the Windows tab and copy that line |
Windows: running scripts is disabled on this system | The script was saved to a file and started from there | Do not save it. Paste the one line from the app |
Windows: Could not create SSL/TLS secure channel | A Windows too old to speak TLS 1.2 by default | Use the line under this table, with TLS set inside it |
the local engine address 127.0.0.1:7681 is already in use | Something already listens there, most often the LogiShell desktop app on the same computer | That computer is already connected through the app. Or add -Listen '127.0.0.1:7690' (--listen on macOS and Linux) |
this pair code is expired or already used | Ten minutes passed, or the line ran before | Press Get a new command in the app |
checksum mismatch | A proxy or an antivirus changed the download | Try another network, or allow dl.logishell.com |
| The download stops, or the file vanishes right after | An antivirus holds back a program it has not seen. The build is not signed yet | Allow LogiShell in the antivirus, run the command again |
pairing failed | The computer could not reach LogiShell | A work firewall or proxy: try another network. The reason is in the log from the table above |
| The run ended well, the app still waits | The list has not been read yet, or the computer joined another space | Wait a few seconds; look in Settings → Devices under each space |
| The computer is listed but refuses work | It is still waiting for you (every computer after your first does) | Press Approve |
| Windows: it disconnects when you sign out | This account may not run background tasks | Stay signed in, or run the command once from PowerShell opened as administrator |
For an old Windows that cannot make a secure channel, put the TLS setting
inside the quotes of the command from the app, right after the first ".
Setting it in the window first does nothing: the command starts a new
PowerShell, which does not inherit it.
powershell -NoProfile -Command "[Net.ServicePointManager]::SecurityProtocol = 'Tls12'; & ([scriptblock]::Create((irm 'https://app.logishell.com/install/node.ps1'))) -Control 'https://app.logishell.com' -Pair '<code>'"
Still stuck? Send us the text from the window. On Windows the whole run is
also kept in %LOCALAPPDATA%\LogiShell\install.log.
Good to know
- Already have
lshon that computer? Then it is one line without a download:lsh onboard --node <code>. --name '<name in the list>'(-Nameon Windows) sets the name; the host name is used otherwise.--foreground(-Foreground) keeps the node in that window and installs no service, for a one off check.- No code to carry? Run the installer with no code at all: the computer draws a QR, and your phone claims it.
- Want the LogiShell window on that computer as well? In Connect a computer pick With the LogiShell app: install it, type the code on its first screen.
For agents
Through the MCP door the same road is four tools, in this order:
pair_nodereturns the command for each system. Give it to the person whole.- The person runs it on the computer. An agent runs it only on a computer the person has put it on.
list_nodesshows the computer aspending, or asapprovedwhen it is the first computer of that space: the first one connects at once.- For a pending computer
approve_nodeasks the person. Only their answer approves; an agent never approves for them.
Pairing is not permission, except for the very first computer of a space. Anyone holding a code can pair, so for every next one the last word belongs to a person who is already signed in. Treat the code as a secret for its ten minutes.
Next: put an agent on that computer.
Need the desktop of that computer and not only its terminals? See the screen of your machines.