Skip to content

Remote Access and Private-Network Enrollment

Addresses are visible; credentials are not

Maintainer-approved control-server addresses, tailnet IPs, hostnames, and device inventories may be documented in the Wiki. Never publish pre-authentication keys, Auth IDs, SSH private keys, passwords, access tokens, remote-control codes, or unattended-access passwords.

Purpose

Enroll an approved personal work computer in the laboratory's self-hosted private network to access workstations or services assigned to a project.

Current Enrollment Information

Item Current value
Headscale control server https://hs.jingxiangguo.com
Gateway / control plane sg-ai-gateway (100.64.0.1), no GPU, not a development machine
New-device enrollment contact @nilou (Ye Zheng)
Device, IP, and GPU inventory Compute Resource Requests and Selection

Dynamic information

The table above and compute page are a snapshot dated 2026-08-03. Run tailscale status before connecting to verify current node state; network reachability does not grant permission to operate a device.

Prerequisites

  • Use only a personally managed work computer, never a public or unmanaged device.
  • Obtain access approval from the project owner and Network Administrator.
  • Update the operating system and enable disk encryption, screen locking, and a local account password.
  • Confirm the required resource, purpose, and expected access period.
  • Install an official Tailscale client; do not use packages from unknown sources.

Request Information

Field Description
Project Project and project-owner role
Device Operating system, device type, and proposed unique device name
Access target Required resource category, hostname, or tailnet IP
Purpose Visualization, development, inference, file access, or operational support
Period Expected start and end dates

Client Installation and Login

macOS

  1. Install the client through an official Tailscale channel and allow the network extension when macOS prompts.
  2. If Homebrew is available, the standalone client can also be installed with:

    brew install --cask tailscale
    
  3. Add the administrator-provided custom control server in the client settings, or run this in a terminal with the CLI configured:

    tailscale login --login-server=https://hs.jingxiangguo.com
    
  4. If the graphical interface does not expose a custom-server entry, use the CLI bundled with the app:

    /Applications/Tailscale.app/Contents/MacOS/Tailscale login --login-server=https://hs.jingxiangguo.com
    
  5. The control-server address may be public; never publish the browser registration page, Auth ID, or complete terminal output containing credentials.

Windows

  1. Install the client through an official Tailscale channel and add the custom control server under controlled administrator guidance.
  2. Run this in PowerShell:

    tailscale login --login-server=https://hs.jingxiangguo.com
    
  3. If the command is not on PATH, use the installed executable from PowerShell:

    & "$env:ProgramFiles\Tailscale\tailscale.exe" login --login-server=https://hs.jingxiangguo.com
    
  4. For fixed workstations or servers that must stay online without an interactive login, enable unattended mode only after separate approval:

    tailscale up --unattended=true
    
  5. Unattended mode is not the default for personal computers; the project owner and Network Administrator decide whether it is appropriate.

Linux

  1. Install and start the client using the official Tailscale Linux instructions.
  2. Run:

    sudo tailscale up --login-server=https://hs.jingxiangguo.com
    
  3. The control-server address may appear in setup instructions; never place a pre-authentication key, Auth ID, or other credential in scripts, images, or repositories.

Auth ID Registration

  1. After the login command, the browser or terminal displays one-time registration information.
  2. Send only the Auth ID, proposed device name, project, and access period to the Network Administrator through a controlled channel; do not forward the complete page or log.
  3. The administrator registers the Auth ID to the correct member identity and applies project-scoped access rules. Current enrollments use the Headscale user <HEADSCALE_USER> unless the Network Administrator says otherwise.
  4. The administrator approves the node with this command shape; real Auth IDs are kept only in short-lived controlled channels and are never written to the Wiki:

    headscale auth register --auth-id <AUTH_ID> --user <HEADSCALE_USER>
    headscale nodes list
    
  5. Reconnect the client and confirm that the device has a unique name and does not reuse another node's identity.

  6. Never publish Auth IDs or pre-authentication keys in the Wiki; non-interactive enrollment requires separate approval.

SSH Public-Key Authorization

Generate a Public Key

macOS or Linux:

test -f ~/.ssh/id_ed25519.pub || ssh-keygen -t ed25519 -C "<MEMBER_OR_DEVICE_NAME>"
cat ~/.ssh/id_ed25519.pub

Windows PowerShell:

ssh-keygen -t ed25519 -C "<MEMBER_OR_DEVICE_NAME>"
Get-Content "$env:USERPROFILE\.ssh\id_ed25519.pub"

Submit the public key only

Submit only the public key ending in .pub. Never upload, forward, or copy a private-key file to an administrator.

Submit Authorization

Through a controlled channel, submit the public key, requested resource category, project, period, and target account role. The administrator grants access through controlled configuration or automation; the Wiki may document approved target hostnames/IPs but does not publish real accounts, credentials, or authorized_keys locations.

Verify SSH

ssh -o BatchMode=yes -o PasswordAuthentication=no <SSH_USERNAME>@<AUTHORIZED_HOSTNAME> hostname

OpenSSH public-key authorization and Tailscale SSH are separate mechanisms. Tailscale SSH is enabled only through administrator and access-policy decisions; members must not change server configuration themselves.

Procedure

  1. Contact @nilou (Ye Zheng) and submit the request information.
  2. The administrator confirms the device, project permissions, and allowed resource scope.
  3. Receive enrollment information through a one-time or short-lived secure channel; never forward it.
  4. Complete the client login and Auth ID registration for the relevant operating system.
  5. If SSH is required, submit your own independent public key and wait for authorization on the target resource.
  6. After enrollment, verify only authorized targets and do not scan or attempt to access other nodes.
  7. Revoke the old device and public-key access when the project ends, the device changes, or the member leaves.

Administrator Handoff Checklist

  • The Auth ID came from the https://hs.jingxiangguo.com registration page and is not expired or reused.
  • The node is registered to the correct Headscale user and appears as an independent device in headscale nodes list.
  • The node name is clear and unique enough to identify the member, device, or purpose; it does not reuse another online node identity.
  • The new device has a 100.64.0.x address and can see or ping the approved target.
  • If SSH is required, the member submits only a .pub public key, and the administrator deploys it only to the approved target account.
  • Verification uses BatchMode=yes and PasswordAuthentication=no so SSH does not fall back to password login.

Usage Rules

  • Use the private network only for research collaboration and approved resource access, not unrelated traffic forwarding.
  • Never share node identities, pre-authentication keys, SSH private keys, or unattended-access passwords.
  • Hostnames, tailnet IPs, and GPU configurations may be maintained in the Wiki; inspect and redact Auth IDs, keys, tokens, accounts, and other credentials before publishing error screenshots.
  • Confirm the current path and authorization before remote-desktop use; network reachability does not authorize device operation.
  • After temporary support, close sharing, revoke one-time permissions, and review the remote session.

Verification

tailscale status
tailscale ip -4
tailscale netcheck
tailscale ping <AUTHORIZED_HOSTNAME>
  • The administrator sees the device as an independent node with the expected identity.
  • Only approved resources are reachable, and the project service, SSH, or remote desktop works as expected.
  • SSH verification does not fall back to password authentication.
  • No Auth ID, key, password, token, or other credential appears in terminal output, screenshots, or documentation.

Direct Path or DERP Relay

tailscale ping <AUTHORIZED_HOSTNAME>
  • Output containing via <IP>:<UDP_PORT> usually means a peer-to-peer direct path with lower latency.
  • Output containing via DERP(...) means DERP relay is in use; the connection is still normal, encrypted, and usable, but may be slower.
  • Direct paths depend on ISP, campus-network, cloud-firewall, and NAT behavior. Members cannot force direct connectivity on their own.

Optional: Exit Node

Enable an exit node only when all internet traffic must go through an approved exit node:

tailscale set --exit-node=<EXIT_NODE_NAME> --exit-node-allow-lan-access=true

Stop using the exit node:

tailscale set --exit-node=

Exit nodes require separate approval

An exit node changes the device's internet egress path and is not part of default remote access. Do not enable it for ordinary SSH, remote desktop, or file access.

Troubleshooting

  • The login command does not produce an Auth ID: confirm the control server is https://hs.jingxiangguo.com, then check the client version and network state.
  • The device appears as another node: stop using it and re-enroll with independent state to avoid disconnecting an active device.
  • A node is visible but not interactive: validate the current direct or relay path and target service ports; do not rely on the online label alone.
  • SSH still requests a password: confirm that the correct public key was submitted, the target account is authorized, and the matching local private key is in use; never place a password in a script.
  • Remote desktop is slow: record the time and connection type, then ask the Network Administrator to inspect the path.
  • Device lost or member leaving: revoke the node and related temporary credentials immediately.
  • On-site support required: contact @nilou (Ye Zheng) or the equipment maintainer. Lab equipment locations may be documented, but do not publish anyone's live personal location.

References

Maintenance

  • Owner: Network Administrator
  • Contact: @nilou (Ye Zheng)
  • Last verified: 2026-08-03