SDL Tridion: How to publish using SSHFTP publishing protocol?
I have had the chance to setup my SDL Tridion 2011 environment to use SSHFTP publishing protocol.
Such experience didn't come without its challenges and now that I got it working, I would like to share it in case someone needs to set this up in the future.
First of all, I had to setup the SSHFTP server and then the SSHFTP client to test if I can establish the connection successfully.
In this case, I have chosen coreftp server that I found fairly easy to configure. After installing this tool, setup a new SSHFTP server, as demonstrated below:
As a second step, add a user that can access the incoming folder, as shown in the image below:
The next step will be to ensure that your Deployer (running as a Windows Service) has its incoming folder configured to the same folder as the SSH FTP server. Navigate to your TRIDION_HOME\config\cd_deployer_conf.xml and change the incoming folder to the same as where your SSH FTP is listening, in my case:
<Location Path="c:\tridion\incoming" WindowSize="20" Workers="10" Cleanup="true" Interval="2s"/>
This will allow that once the package arrives in the incoming folder, the deployer will start processing its contents. After applying this change, restart your Deployer.
Now you can use a client to test if you are able to connect successfully. Any SSH FTP client can be used, in my case I have used Filezilla.
You are now ready to configure your publication target on the CME, as the Transport Service needs to know where it should place the package for the SSHFTP and Deployer. In this case, I have configured the publication target as follows:
You should now be all set to publish using SSHFTP protocol!