We need a casperjs script, triggered by a cronjob, to read login credentials (email, password) from a local file, login to a webpage ([login to view URL] web IDE), read the SSH connection details for that user and write them to a local file. The data written to a local file will be used to make an SSH connection to the IDE using a terminal client.
The script has to keep the connection open to the webpage for at least a couple of hours. (see [login to view URL])
The script will be run on Ubuntu 14.04. We can provide a test server for your script testing.
If you provide exact steps for installing phantomjs and casperjs on such a system, that will be great.