Accessing Your Instance
This guide covers how to interact with your Vers VMs — connecting via SSH, executing commands, transferring files, and accessing network ports.Connection Architecture
Vers uses SSH-over-TLS for all VM connections. This means your SSH traffic is tunneled through a TLS connection on port 443.- Works through corporate firewalls (uses HTTPS port 443)
- Double encryption (TLS + SSH)
- No need to expose SSH ports
- Automatic routing to your specific VM
Ways to Access Your VM
Vers provides three main ways to interact with VMs:| Method | Command | Use Case |
|---|---|---|
| Interactive Shell | vers connect | Development, debugging, manual work |
| Execute Commands | vers execute | Automation, scripts, CI/CD |
| File Transfer | vers copy | Upload/download files and directories |
Interactive Shell (vers connect)
Open a full terminal session to your VM:Terminal Features
- Full PTY support: Run vim, htop, or any interactive program
- Terminal resizing: Window size changes are reflected in the VM
- Color support: Full xterm-256color terminal
- Multiple sessions: Connect from multiple terminals simultaneously
Exiting
Typeexit or press Ctrl+D to disconnect. Your VM keeps running.
Executing Commands (vers execute)
Run commands without an interactive session:File Transfer (vers copy)
Transfer files between your machine and VMs using SCP:Networking and Ports
Your VM is accessible at:Vers terminates TLS at the proxy — your VM serves plain HTTP, browsers see HTTPS. No cert setup needed.
Available Ports
Vers routes the following ports: 80, 443, 3000, 3210, 3306, 3724, 5173, 8000, 8080, 9000, 9999, 1337Binding
If your server binds0.0.0.0 (IPv4 only), bind dual-stack instead:
DNS
If you need outbound internet from inside the VM:SSH Key Management
Vers automatically manages SSH keys for you:- First connection: CLI fetches your VM’s private key from the API
- Local caching: Key stored at
/tmp/vers-ssh-keys/{vm-id}.key - Secure permissions: Keys have 0600 permissions (owner read/write only)
- Automatic authentication: Key used for all subsequent connections
Connection Details
Authentication
- Username: Always
root - Method: Public key authentication (no passwords)
- Keys: Per-VM keys, automatically managed
Network
- Host:
{vm-id}.vm.vers.sh - Port: 443 (TLS)
- Protocol: SSH tunneled over TLS
Keep-Alive
Connections use automatic keep-alive:- Interval: 10 seconds
- Max missed: 6 (disconnects after ~60 seconds of no response)
Multiple VM Workflows
Parallel Development
Troubleshooting
Connection Refused
Cause: VM may still be starting up. Solution: Wait a few seconds and retry.VM Not Running
vers resume.
SSH Key Errors
Cause: Authentication issue. Solution: Runvers login to re-authenticate.
Timeout
Cause: Network issues or VM unavailable. Solution: Check your internet connection; verify VM exists withvers status.
See Also
- vers connect - Interactive SSH sessions
- vers execute - Run commands on VMs
- vers copy - Transfer files