SSH Setup
Browse and preview siddcn components remotely via SSH.
SSH Setup
Browse and preview siddcn components remotely via SSH, just like terminal.shop.
Quick Connect
Connect to the demo server:
ssh demo@siddcn.dev -p 2222Running Your Own Server
You can run your own siddcn SSH server:
Start the Server
# Using the CLI
siddcn --server
# Or with a custom port
siddcn --server --port 2222Generate SSH Keys
If you need to generate new host keys:
# Generate RSA key
ssh-keygen -t rsa -b 4096 -f host.key -N ""
# Generate ED25519 key (recommended)
ssh-keygen -t ed25519 -f host.key -N ""Configuration Options
| Option | Default | Description |
|---|---|---|
--port | 2222 | SSH server port |
--host | 0.0.0.0 | Bind address |
--key | host.key | Path to host key |
Client Configuration
Add this to your ~/.ssh/config for convenience:
Host siddcn
HostName localhost
Port 2222
User demoThen connect with:
ssh siddcnFeatures
When connected via SSH, you can:
- Browse Components - Navigate the full component library
- Live Preview - See components render in real-time
- Theme Selection - Switch between 6 built-in themes
- Copy Code - Get component code for your project
- Vim Navigation - Use familiar keybindings
Troubleshooting
Connection Refused
Make sure the server is running and the port is correct:
# Check if server is listening
netstat -an | grep 2222Host Key Verification Failed
If you're running locally and the host key changed:
ssh-keygen -R "[localhost]:2222"