How to download a file/folder from remote (openshift) to local system

First, tar and gzip your folder on the server within a ssh session, the syntax is:

rhc ssh <app_name>
tar czf <name_of_new_file>.tar.gz <name_of_directory>

Second, after you have disconnected from the openshift server (with CTRL-D), download this file to your local system:

rhc scp <app_name> download <local_destination> <absolute_path_to_remote_file>

Then on your local machine you can extract the file and perform your actions.


Use winscp (if on windows) to ssh into your openshift app. Navigate to your folder. Drag and drop folder or files to local machine.

Filezilla - using filezilla and sftp with openshift