Get connected in minutes
This guide walks you through setting up suSHi and connecting to your first remote machine via the browser-based terminal.Before starting, ensure you have Docker and Docker Compose installed on your system.
Prerequisites
- Docker and Docker Compose installed
- A remote machine you want to connect to via SSH
- SSH credentials (password or private key) for the remote machine
Setup suSHi
Create the project directory
Set up the directory structure for suSHi:The
db/data directory stores PostgreSQL data with the correct permissions for the Bitnami PostgreSQL image.Create docker-compose.yaml
Create a
docker-compose.yaml file in the project directory:docker-compose.yaml
Start the services
Launch suSHi using Docker Compose:Wait for the containers to start. You can check the logs:Look for the message:
Starting server on port 8080Connect to your first machine
Authenticate
Click on the OAuth authentication option (Google or GitHub) to sign in.
If you haven’t configured OAuth credentials, you may need to set up OAuth apps. See the Installation guide for details.
Add a machine
Once authenticated, navigate to the dashboard and click Add Machine.Fill in the connection details:
- Host: IP address or hostname of your remote server
- Port: SSH port (usually 22)
- Username: Your SSH username
- Authentication: Choose password or private key
Enter credentials
Depending on your authentication method:
- Password: Enter your SSH password
- Private Key: Paste your SSH private key
Your private key is encrypted using AES-CFB before being stored in the database.
Troubleshooting
Connection closed when opening terminal
Connection closed when opening terminal
If you see “connection closed” errors when opening the terminal, you may need to adjust the WebSocket protocol.For local development, edit
static/terminal.html (line 95) and change wss:// to ws://.Database permission errors
Database permission errors
Ensure the
db/data directory has the correct permissions:Port already in use
Port already in use
If port 8080 is already in use, modify the port mapping in
docker-compose.yaml:Next steps
Installation guide
Learn about advanced configuration options and OAuth setup.
Add multiple machines
Manage connections to multiple remote servers from one dashboard.