Rsync Target Type
Rsync is a great way of working with remote servers. It behaves much the same as the SFTP deployment type but rather than deploying all files, it deploys only files that have changed.
You can use a password and/or a public key for authentication.
Public Key Authentication
Codio auto-generates a public key that is uniquely associated with your user account. You can find this public key in the User Settings dialog. You should make sure that this public key is added to your remote server.
There are two options available
- SSH : (recommended) uses an SSH connection to transfer
- RSYNC Daemon : this requires you to set up an rsync daemon on the remote server. This is a more complex procedure and so should generally be avoided.
Specifying a Port
If you want to override the default SFTP port (22) then you can add the port number to the domain name as shown below
You will need to supply a valid user name for your remote server regardless of the authentication method.
If you are using a public key then you can leave the password field empty.
If you do not want to use a public key, then you will need to use a password for authentication. Simply provide the details in the Codio dialog.
Delete Missing Folders
This removes any folders from the remote server that are not present in the Codio project.