Configuration Management via SSH/SCP
Is there a way to copy files via SSH/SCP. We have a large amount of Zyxel USG's and want a Configuration Management, but so far only FTP works for me to transfer the Config. Are there other recommended ways to save the config of many Zyxel Firewalls? I tried via SCP but it seemed not be working. Thanks.
0
All Replies
-
How about using python script to get configuration backup. just one click to download from device.It might reduce your maintenance effort.~~~~~~~~~~~~~~~~~~~~cfg_download.py~~~~~~~~~~~~~~~~~
from ftplib import FTP
#Device info
USG_IP = "192.168.2.1"
ID = "admin"
Password = "12345"
Filename = 'startup-config.conf'
#Log in to USG
ftp = FTP(USG_IP)
ftp.login(user=ID, passwd=Password)
#Change folder and list
ftp.cwd('/conf/')
localfile = open(Filename, 'wb')
ftp.retrbinary('RETR ' + Filename, localfile.write, 1024)
#Connection close
ftp.quit()
localfile.close()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0
Categories
- All Categories
- 415 Beta Program
- 2.3K Nebula
- 141 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.5K Security
- 216 USG FLEX H Series
- 262 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1K Wireless
- 39 Wireless Ideas
- 6.3K Consumer Product
- 243 Service & License
- 382 News and Release
- 81 Security Advisories
- 27 Education Center
- 8 [Campaign] Zyxel Network Detective
- 3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight