User`s guide

1 Cloud Computing
1-24
3
Do not provide a password, but instead provide your SSH key identity file under
Edit > Settings. In the Select pane of the Settings dialog box, choose SFTP. In the
Public Key Authentication pane, click Add keyfile. Navigate to the key file that
you downloaded from the Cloud Center for this cluster. (Note: On Windows, the
.pem format key file you download from Cloud Center is not directly compatible
with FileZilla, but when you select that key file, FileZilla can automatically convert
the format for you.) When the key file appears in the list, click OK to dismiss the
Settings dialog box.
4
When FileZilla is configured with the proper key file, click Quickconnect.
5
After connecting, set the Remote site path to /shared/persisted.
6
Now drag the file emem.mat from the local column to the remote column. That
completes the transfer.
Transfer Data with the remotecopy Utility
You can transfer between your client file system and your cloud cluster with the
remotecopy utility provided with Parallel Computing Toolbox as:
matlabroot/toolbox/distcomp/bin/remotecopy
The remotecopy utility uses an identity file instead of passwords. This is the private
SSH key file you download for a cluster from Cloud Center as described in “Download
SSH Key Identity File” on page 1-22.
Transfer Data to the Cloud
This example shows how to copy the file /home/cloudtmp/emem.mat from a local UNIX
machine to a cloud cluster node:
1
Navigate to the location of the remotecopy utility, and run the command as shown.
cd /matlabinstall/toolbox/distcomp/bin
./remotecopy -local /home/cloudtmp/emem.mat \
-to -remote /shared/persisted/emem.mat \
-remotehost ec2-107-21-71-51.compute-1.amazonaws.com \
-protocol scp -username clouduser -identityfile /home/.ssh/your-key.pem \
-passphrase ""
(For Windows, use appropriate slashes, path names, and ^ to indicate continuation
of the command on multiple lines. For other options or information about mixed
platforms, see remotecopy -help.)