-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.migration.example
More file actions
30 lines (23 loc) · 950 Bytes
/
Copy path.env.migration.example
File metadata and controls
30 lines (23 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# osTicket Migration Configuration
# Copy this file to .env.migration and fill in your values
# Old Server Connection
OLD_SERVER=your-server.com
SSH_USER=your-username
SSH_PORT=22
# osTicket Path on Old Server
OSTICKET_PATH=/var/www/html/osticket
# Authentication Method (1=password, 2=paste key, 3=key file)
AUTH_METHOD=2
# SSH Password (only needed if AUTH_METHOD=1)
# SSH_PASS=your-password
# SSH Private Key (only needed if AUTH_METHOD=2)
# Option A: Base64-encoded key (recommended for Portainer)
# To encode: cat ~/.ssh/id_rsa | base64 -w 0
# SSH_KEY_B64=LS0tLS1CRUdJTiBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tLS0K...
# Option B: Multi-line key (for local .env.migration file)
# SSH_KEY="-----BEGIN OPENSSH PRIVATE KEY-----
# b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
# ... rest of your key ...
# -----END OPENSSH PRIVATE KEY-----"
# Or use key file path (only needed if AUTH_METHOD=3)
# SSH_KEY_FILE=/root/.ssh/id_rsa