Open the connection in NVTO Connect
Run nvto-connect open <lease-id> on your computer and leave it running. Once the rented Mac accepts your SSH key, Connect writes a host entry named nvto- followed by the first eight characters of the lease ID. It adds an Include line to ~/.ssh/config and keeps the host entry under ~/.ssh/nvto/. The entry points to Connect's local SSH port and includes the renter account and this computer's key.
For a lease ID beginning with 5b0c1f6e, try ssh nvto-5b0c1f6e from another terminal. See the Connect CLI reference for the file locations and Connecting if the connection fails.
Open a folder in VS Code
Install Remote - SSH in VS Code on your computer. In the Command Palette, choose Remote-SSH: Connect to Host and select the nvto- host for your lease. If VS Code uses a custom SSH configuration file, make sure it can read the host entry Connect wrote.
On the first connection the extension installs its server component on the Mac. Open your project folder in the remote window and run your build from its integrated terminal. The same host name works in other editors that use your SSH configuration for remote development.
Open a remote development server locally
Start the development server in the remote terminal. If it listens on port 3000 on the Mac, choose Forward a Port from the Command Palette and enter 3000. Open the local address shown in the Ports view in your browser. VS Code may pick a different local port if 3000 is taken.
Use the desktop for Xcode and Simulator
Use SSH for editing, shell commands and builds. Open remote desktop in the same lease when you need to use Xcode's interface or interact with the iOS Simulator. The iOS build guide covers Xcode setup.
What happens when you disconnect
Stopping Connect closes the tunnel, removes the host entry and ends the Remote - SSH session. Run open again and reconnect in VS Code while the lease is active. The virtual machine is deleted when the lease ends, so save any changes and build output you need elsewhere.
The Mac's owner can reach the running virtual machine. Keep private keys, production credentials and any files the owner must never see off it. See the security model.