Overview
Wings includes a built-in SFTP server that provides secure file access to game servers. The SFTP server authenticates users against the Panel and provides isolated access to each server’s files.Basic Configuration
SFTP settings are configured under thesystem section:
Configuration Options
Bind Address
0.0.0.0
The IP address that the SFTP server listens on.
Common values:
0.0.0.0- Listen on all interfaces (default)127.0.0.1- Listen only on localhost- Specific IP - Listen on a specific network interface
Bind Port
2022
The port that the SFTP server listens on.
Port 22 is the standard SFTP port but is typically used by the system SSH server. Wings uses port 2022 by default to avoid conflicts.
Read-Only Mode
false
When enabled, no write actions are allowed on the SFTP server. Users can browse and download files but cannot upload, modify, or delete files.
Authentication
The Wings SFTP server authenticates users through the Panel. Authentication credentials are validated in real-time.Username Format
SFTP usernames follow a specific format:john.a1b2c3d4
Where:
johnis the Panel usernamea1b2c3d4is the 8-character server identifier
Supported Authentication Methods
- Password Authentication - Standard password login
- Public Key Authentication - SSH key-based authentication
Security
Host Key
Wings automatically generates an ED25519 private key for host verification on first startup. This key is stored in:Encryption
The SFTP server uses strong cryptographic algorithms: Key Exchange:curve25519-sha256[email protected]ecdh-sha2-nistp256ecdh-sha2-nistp384ecdh-sha2-nistp521diffie-hellman-group14-sha256
[email protected][email protected]aes128-ctraes192-ctraes256-ctr
[email protected]hmac-sha2-256
Connection Limits
Max Authentication Tries: 6 After 6 failed authentication attempts, the connection is closed.Firewall Configuration
Ensure your firewall allows incoming connections on the SFTP port: UFW:Connecting to SFTP
Using FileZilla
- Protocol: SFTP
- Host: Your Wings server IP/hostname
- Port: 2022 (or your configured port)
- Username:
<panel-username>.<server-id> - Password: Your Panel password or SSH key
Using Command Line
Using WinSCP
- File protocol: SFTP
- Host name: Your Wings server IP/hostname
- Port number: 2022
- User name:
<panel-username>.<server-id> - Password: Your Panel password
Troubleshooting
Cannot Connect to SFTP
-
Check Wings is running:
-
Verify SFTP is listening:
-
Check firewall rules:
-
Review Wings logs:
Authentication Failures
- Verify username format - Must be
username.serverid - Check Panel credentials - SFTP uses Panel authentication
- Review Wings logs for authentication errors
- Verify user permissions on the Panel
Permission Denied Errors
-
Check server directory permissions:
-
Verify pterodactyl user ownership:
Advanced Configuration
Using a Different Port
To use a custom port:- Update firewall rules
- Update the SFTP port in the Panel node configuration
- Inform users of the new port
Binding to Specific Interface
For servers with multiple network interfaces:Read-Only Access
To provide read-only SFTP access (useful for troubleshooting):Performance Considerations
Connection Limits
The SFTP server can handle multiple concurrent connections. Performance depends on:- Available system resources (CPU, RAM)
- Disk I/O performance
- Number of files being accessed
- Network bandwidth
Large File Operations
For servers with many files:- Directory listings may be slow
- Consider using compression for large transfers
- Use
rsyncover SFTP for large directory synchronization
Example Configuration
Complete SFTP configuration:Security Best Practices
- Use SSH Keys - Prefer public key authentication over passwords
- Firewall Rules - Restrict SFTP access to trusted IPs when possible
- Regular Updates - Keep Wings updated for latest security patches
- Monitor Access - Review logs for suspicious authentication attempts
- Strong Passwords - Enforce strong password policies on the Panel
Related Configuration
SFTP server behavior is also affected by:- System data directory - Where server files are stored
- Pterodactyl user - File ownership and permissions
- Panel node configuration - SFTP port must match Panel settings
