# SFTP Configuration Example # # Upload ISO files to any server with SSH/SFTP access. # # Setup Instructions: # 1. Ensure you have SSH access to your target server # 2. Generate an SSH key pair if you haven't already # 3. Add the public key to your server's ~/.ssh/authorized_keys # 4. Set the following GitHub secrets in your repository: # - SFTP_HOST: Your server hostname or IP address # - SFTP_USER: Your SSH username # - SFTP_SSH_KEY: Your private SSH key (entire contents) # - SFTP_PORT: SSH port (default: 22) # - SFTP_PATH: Remote path to upload files (e.g., /var/www/isos) # # Note: For password authentication, use SFTP_PASSWORD instead of SFTP_SSH_KEY [sftp] type = sftp # Server details - use GitHub secrets host = ${SFTP_HOST} user = ${SFTP_USER} port = ${SFTP_PORT:-22} # Authentication - use key-based auth (recommended) key_pem = ${SFTP_SSH_KEY} # Or use password authentication (less secure) # pass = ${SFTP_PASSWORD} # Optional: Skip host key verification (not recommended for production) # skip_links = false # set_modtime = true