Files
AdsPreview/deployment/scripts/.env.upload.example
Johannes a6ae81f5b5 feat: Add SSH-Key support for secure deployment authentication
- upload.sh: Conditional SSH-Key vs. password authentication
- Automatic detection of SSH-Keys via FTP_SSH_KEY variable
- CloudPanel-compatible SSH-Key integration
- .env.upload.example: Added SSH-Key documentation
- Secure SFTP uploads without passwords in code
2025-09-07 15:46:11 +02:00

28 lines
864 B
Plaintext

# FTP/SFTP Zugangsdaten für Webspace Upload
# Kopiere diese Datei zu .env.upload und trage deine echten Zugangsdaten ein
# Server-Adresse (ohne http://, nur Hostname)
FTP_HOST="dein-server.de"
# FTP/SFTP Benutzername
FTP_USER="dein-username"
# FTP/SFTP Passwort
FTP_PASS="dein-passwort"
# Pfad auf dem Server (meist /htdocs, /public_html, /www oder /)
FTP_PATH="/htdocs"
# SSH/SFTP Port (Standard: 22)
FTP_PORT="22"
# SSH-Key Authentifizierung (Optional, für SSH-Key-only Server)
# Falls gesetzt, wird SSH-Key statt Passwort verwendet
# FTP_SSH_KEY="$HOME/.ssh/id_rsa"
# Beispiele für verschiedene Provider:
# Strato: FTP_HOST="ftp.strato.de" FTP_PATH="/htdocs"
# 1&1: FTP_HOST="ftp.1und1.de" FTP_PATH="/htdocs"
# All-Inkl: FTP_HOST="ftp.all-inkl.com" FTP_PATH="/"
# Hetzner: FTP_HOST="deine-domain.de" FTP_PATH="/httpdocs"