Skip to content

devlanes is in beta and not ready for production use.Report an issue

Remote connection states

devlanes remote ls lists each box this machine knows, with the state of its connection, what it mirrors and any warnings. Remote mirroring explains the connection.

StateMeaningWhat to do
connectingYour machine is reaching the box.Wait.
connectedThe box’s lanes are mirrored here.Nothing.
reconnectingThe connection dropped, after sleep or a network change, and devlanes tries again on its own. The box’s ports and hostnames stay in place meanwhile.Wait. error says why it dropped.
needs_authReconnecting needs you: SSH asks for a password, a passphrase or a host key.Run devlanes remote connect BOX in a terminal.
needs_pairingThe box no longer accepts this machine, or no pairing code was given.Run devlanes daemon pair on the box, then devlanes remote connect BOX --code CODE here.
failedTrying again cannot help, for example the two machines run releases too far apart to talk, or the box turns connections away. error says why.Fix the cause, then run devlanes remote connect BOX.
disconnectedThe box is known but not connected, as after devlanes remote disconnect.Run devlanes remote connect BOX to connect again.

A pairing code from devlanes daemon pair works once and expires after a few minutes. Connect to a box has the steps.

WarningWhat to do
the box runs devlanes VERSION and this machine VERSION. Install the same release on both.Update the machine that is behind (Update and uninstall).
the box stops your processes at logout. Run `sudo loginctl enable-linger "$USER"` there.Run that command on the box.
the box daemon stops when this SSH session ends. Run `devlanes daemon install` on the boxRun that command on the box.
port PORT is not mirrored because ...Something on this machine already uses the port, as the message names. Stop it, or keep the service on the box (Choose what a box shares).
this machine cannot use the box’s HTTPS port PORT (...). Open its hostnames on port PORT.Open the box’s hostnames on the port the message names.
box BOX’s ports.range ... overlaps box OTHER ...Give each box its own ports.range.

A lane listed under skipped_lanes is not mirrored because another lane serves the same hostnames; its note gives the command that switches to it (Work with several boxes).