Appearance
Connecting to a Velda Instance
This guide explains the various methods available for connecting to your Velda instances, from browser-based options to command-line interfaces and IDE integrations.
Table of Contents:
1. Connect via VS Code Web
If your instance has VS Code Server preinstalled (the default for Velda images), simply click the Connect button after logging in. This will open your instance directly in VS Code Web.
2. Connect via VS Code Extension
Use the Velda VS Code extension for seamless integration:
- Install the Velda extension and the Remote - SSH extension in VS Code
- Open the Velda extension panel to view available instances
- Select the instance you wish to connect to
3. Connect via Velda CLI
- Download the Velda CLI and ensure it is executable and in your
PATH
- Log in using the CLI
- Run the following command to connect:
sh
velda run --instance=[instance-name]
4. Connect via Custom SSH Client or IDE
- Download the Velda CLI and log in
- Add the following entry to your SSH config file (typically
~/.ssh/config
):
sh
cat << EOF >> ~/.ssh/config
Host [InstanceName]
HostName [InstanceName]
Port 2222
User user
ProxyCommand velda port-forward -W -p %p --instance %h -s ssh
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
User user
EOF
- Connect using your preferred SSH client or configure your IDE to use this SSH configuration:
sh
ssh [InstanceName]
Note: Replace [InstanceName]
with your actual Velda instance name.
Downloading the Velda CLI
Download the Velda CLI for your platform:
Platform | Download Link |
---|---|
Linux | Download |
macOS (ARM) | Download |
macOS (x86-64) | Download |
After downloading, make the CLI executable and add it to your PATH
:
sh
chmod +x velda
mv velda /usr/local/bin/ # Or another directory in your PATH
Logging In and Setting Up Your Instance
Log in to Velda using the CLI:
sh
velda auth login
Follow the prompts to complete authentication. Once authenticated, you can create, manage, and connect to your Velda instances.