Atom is a modern, hackable text editor to which you can add packages. Using this editor we can edit the files remotely on the cluster and synchronize via sftp
-- ftp
through ssh
.
Once you completed connecting to ComputeCanada with ssh
, follow these steps to set remote editing on the cluster from your local machine:
-
Install Atom package
ftp-remote-edit
by clickingFile->Settings->Install
and typeftp-remote-edit
in the search bar. -
After completion of installation, press
Ctrl+Space
to set your password toftp-remote-edit
. It is a mandatory step required by the package. -
Press
Ctrl+Shift+p
on Windows (orCommand+Shift+p
on Mac) and enterftp remote edit
and findEdit servers
command.Fill out the box to look like this
Hostname
ascedar.computecanada.ca
Protocol
assftp
- Use your own username and password for ComputeCanada
- Set the initial directory to be
/home/YOURUSERNAME
-
Now on the left panel inside Atom you can see
Remote
, and then double click on the server you just set. You can add/delete/edit files now, and they will be directly synchronized on ComputeCanada.