FirstSpirit project configuration
The ssh/rsync deployment entry occurs via the FirstSpirit client for the Project and Server Configuration:
- Create a new schedule entry via the Project Configuration.
- Add the Generate project action to the schedule entry.
- Add the Execute script action below the previous action.
- The “ssh/rsync deployment script” is part of a zip archive (admi5x_files.zip) for the Documentation for Administrators.
- The web server parameters are entered as script parameters:
webhost=www.mydomain.net
webuser=web
webpath=/var/www
If FirstSpirit runs under Windows, also add the following parameters: ssh=c:\cygwin\bin\ssh
rsync=c:\cygwin\bin\rsync
privkey=/home/username/.ssh/id_rsa
“user name” is in this case the current user with which “ssh-keygen” has been called. “/home” is used in fact here under Windows because Cygwin maps this to the Windows profiles directory. - Subsequently the entered configuration should be tested and, if necessary, the displayed error message log should be checked. This deployment can only be used if the test is error free.