Managing Brev Connect
Once you’ve connected a machine with Brev Connect, you can share it with teammates, forward ports, and manage its lifecycle.
Viewing Brev Connect Machines
Brev Connect machines appear in the Brev console alongside cloud GPU instances. You can view each machine’s hardware profile, connection status, and authorized users.
Sharing Access
Granting SSH Access
Run this command on the Brev Connect machine to grant SSH access to a teammate:
An interactive selector shows all members of your organization (excluding yourself). Select the user to grant access and enter the SSH port. Once granted, they can connect from their own machine:
As a security measure, brev grant-ssh removes ~/.brev/credentials.json before granting access.
Revoking SSH Access
To revoke a user’s access, run this on the Brev Connect machine:
An interactive selector shows all Brev-managed SSH keys with a key preview and associated user. Select the key to revoke. This performs a two-stage revocation:
- Removes the SSH key from the local machine
- Sends an RPC to the Brev server to revoke server-side access
Port Forwarding
Forward ports from the Brev Connect machine to your local machine using brev port-forward:
Supported Protocols
Port forwarding supports TCP and UDP. The protocol is specified via the OpenPort RPC:
Common Port Forwards
Deregistering a Machine
To fully remove a machine from Brev Connect, run this on the Brev Connect machine:
This performs a complete cleanup:
- Unregisters the machine from the Brev server
- Removes all SSH keys
- Uninstalls the NetBird VPN agent
- Deletes the local registration file (
/etc/brev/device_registration.json)
Deregistering removes all access. Teammates will no longer be able to connect to this machine through Brev. You can re-register at any time with brev register.