Overview
The Remote Server integration allows your workflows to connect to remote servers via SSH and execute commands, scripts, and file operations.SSH Access
Connect to any server via SSH
Command Execution
Run shell commands remotely
File Operations
Read, write, and transfer files
Secure Connections
Encrypted SSH connections with key authentication
Setup
Adding a Server Connection
- Navigate to Settings > Integrations
- Click Add Integration > Remote Server
- Enter server details:
- Hostname/IP: Server address
- Port: SSH port (default: 22)
- Username: SSH username
- Authentication: Choose SSH key or password
- Test connection and save
Authentication Methods
- SSH Key
- Password
Recommended for production
- Generate SSH key pair (if needed):
- Copy public key to server:
- Add private key to Splox integration
Available Actions
Connection Management
Connect to Server
Connect to Server
Establish SSH connection to a remote server.Parameters:
host- Server hostname or IP addressusername- SSH usernameport- SSH port (default: 22)timeout- Connection timeout in seconds (default: 10)
connection_id- Unique connection identifierhost- Connected server hostusername- Authenticated usernamestatus- Connection status
List Active Connections
List Active Connections
Get list of active SSH connections.Returns:
connections- Array of active connectionsconnection_id- Connection IDhost- Server hostusername- Usernameconnected_at- Connection timestampstatus- Connection status
Disconnect from Server
Disconnect from Server
Close an active SSH connection.Parameters:
connection_id- Connection ID to close
success- Disconnection success statusconnection_id- Disconnected connection ID
Command Execution
Execute Command
Execute Command
Run a shell command on the remote server.Parameters:
connection_id- Active connection IDcommand- Shell command to executepath- Working directory (optional)timeout- Command timeout in seconds (default: 30)
stdout- Command standard outputstderr- Command standard errorexit_code- Command exit code
File Operations
Read File
Read File
Read contents of a file from the server.Parameters:
connection_id- Active connection IDpath- File path on serverstart_line- Starting line number (optional, default: 1)num_lines- Number of lines to read (optional, default: 0 = all)max_kb- Maximum KB to read (default: 8, max: 32)
content- File contentscontent_size- Content size in byteslines_read- Number of lines readtotal_lines- Total lines in file
Write File
Write File
Write content to a file on the server.Parameters:
connection_id- Active connection IDpath- File path to writecontent- Content to write
success- Write success statuspath- Written file pathsize- Written bytes
List Files
List Files
List files and directories on the server.Parameters:
connection_id- Active connection IDpath- Directory path to list
files- Array of file objectsname- File/directory namepath- Full pathsize- File size (if file)mode- File permissionsis_dir- Is directory flagmodified- Last modified time
Remove File
Remove File
Delete a file or directory from the server.Parameters:
connection_id- Active connection IDpath- File/directory path to removerecursive- Remove directories recursively (default: false)
success- Deletion success statuspath- Removed path
Make Directory
Make Directory
Create a directory on the server.Parameters:
connection_id- Active connection IDpath- Directory path to create
success- Creation success statuspath- Created directory pathmode- Directory permissions
File Exists
File Exists
Check if a file or directory exists on the server.Parameters:
connection_id- Active connection IDpath- Path to check
exists- File exists statusis_dir- Is directory (if exists)is_file- Is file (if exists)size- File size (if file)mode- File permissionsmodified- Last modified time
Advanced Operations
Upload to S3
Upload to S3
Upload files from remote server directly to S3.Parameters:
connection_id- Active connection IDfiles- Array of file objectsremote_path- Path on serverfilename- Custom filename (optional)content_type- MIME type (optional)
uploads- Array of uploaded file objectsurl- S3 URLfilename- Uploaded filenamesize- File sizeremote_path- Original server path
Morph Edit Large
Morph Edit Large
AI-powered editing of large files on remote server.Parameters:
connection_id- Active connection IDtarget_file- File path to editinstructions- Detailed edit instructionscode_edit- Code changes with context markers
success- Edit success statusmessage- Edit confirmationusage- Token usage statistics
Morph Edit Fast
Morph Edit Fast
Quick AI-powered file editing on remote server.Parameters:
connection_id- Active connection IDtarget_file- File path to editinstructions- Edit instructionscode_edit- Code changes
success- Edit success statusmessage- Edit confirmation
Example Usage
Execute Commands
File Operations
Upload and Execute Script
Download Logs
Use Cases
Deployment Automation
Deployment Automation
Automate application deployments to remote servers with git pull, build, and restart commands.
System Monitoring
System Monitoring
Execute monitoring commands and collect system metrics from multiple servers.
Backup Management
Backup Management
Schedule and execute backup scripts across server infrastructure.
Configuration Management
Configuration Management
Update configuration files and restart services across server fleets.
Log Analysis
Log Analysis
Download and analyze log files using AI-powered workflows.
Database Operations
Database Operations
Execute database backups, migrations, and maintenance tasks.
Best Practices
Use SSH Keys
Prefer SSH key authentication over passwords
Limit Permissions
Use dedicated service accounts with minimal permissions
Set Timeouts
Always set appropriate command timeouts
Log Commands
Enable audit logging for all remote executions
Error Handling
Check exit codes and handle errors gracefully
Secure Secrets
Use environment variables for sensitive data
Security Considerations
Security Checklist
- ✅ Use SSH keys instead of passwords
- ✅ Restrict server access to specific IP addresses
- ✅ Use dedicated service accounts with limited sudo access
- ✅ Enable SSH connection logging
- ✅ Rotate SSH keys regularly
- ✅ Never expose private keys in workflow configurations
- ✅ Use environment variables for credentials
- ✅ Enable 2FA on SSH where possible
SSH Key Rotation
Connection Management
Multiple Servers
Manage multiple server connections in a single workflow:Connection Pooling
Splox automatically manages SSH connection pooling for better performance:- Reuses connections within workflow execution
- Automatic reconnection on failure
- Configurable connection timeout
- Maximum 10 concurrent connections per server
Monitoring & Debugging
Command Output
All command output is captured and available:Connection Health
Monitor SSH connection health in the Splox dashboard:- Connection success rate
- Average response time
- Failed authentication attempts
- Command execution history
Troubleshooting
Connection Timeout
Connection Timeout
Causes:
- Network issues
- Firewall blocking SSH port
- Server not responding
- Verify server is reachable:
ping server.com - Check firewall rules allow SSH (port 22)
- Increase connection timeout setting
Authentication Failed
Authentication Failed
Causes:
- Invalid SSH key
- Wrong username
- Key not authorized on server
- Verify SSH key is correct
- Check username is valid
- Ensure public key is in
~/.ssh/authorized_keys
Permission Denied
Permission Denied
Causes:
- Insufficient file permissions
- Command requires sudo
- User lacks required access
- Grant appropriate file permissions
- Configure passwordless sudo if needed
- Use service account with required permissions
Command Timeout
Command Timeout
Causes:
- Command taking too long
- Process hanging
- Network latency
- Increase timeout value
- Run long commands in background
- Use screen or tmux for long operations
Limitations
- Maximum concurrent connections: 10 per server
- Command timeout: Up to 15 minutes
- File upload size: 100 MB per file
- File download size: 500 MB per file
- Maximum output size: 10 MB
Need Higher Limits? Contact support for enterprise quotas.
Next Steps
Sandbox Integration
Run code in isolated sandbox environments
Splox Integration
Chain workflows together
Tool Node
Learn about tool execution
Security Best Practices
Advanced security configuration

