How to export servers ?
An export script is provided to export the list of all servers and server details into a plain text file appropriate to be imported into Ezeelogin.
root@gateway ~]#php /usr/local/ezlogin/ezxport.php <output file> [<delimiter>]
Specify an output file and a delimiter character.
Example :
root@gateway ~]# php /usr/local/ezlogin/ezxport.php servers.csv
Enter the Ezeelogin administrator password: ******
50 servers exported
Make sure to enter the super admin's password. Superadmin would be the admin user created at the time of installation.
You can find the super-admin name by running the below command :
root@gateway ~] cat /usr/local/etc/ezlogin/ez.conf | grep -i admin_user
Refer below example CSV file:
name | ip_address | group | password | ssh_port | rdp_port | ssh_user | keep_password | enable_ssh |
production.ubuntu.server | 192.168.43.201 | production servers | AI17%%rFb2lCIxb& | 22 | 3389 | root | S | Y |
production.debian.server | 192.168.1.12 | production servers | jRw0dHd$yrG9cxAP | 22 | 3389 | root | N | Y |
production.windows.server | 192.168.43.7 | production servers | 37Nww$AD8qFN^BiO | 22 | 3389 | Administrator | S | Y |
This script does not check the license. So you can use it to retrieve your server details even if your license expires.
How to import the exported CSV file to Ezeelogin?