Reputation: 71
I do some work on an HPC (ECMWF) and use rmate to edit files, etc. I've used it successfully for about a year, and onboarded a few other people. Never has the following happened:
I walked my student through the installation steps as follows. Upon completing this, my student ran rmate <file>
to open a file from his account on the hpc. It opened on my laptop. At this point we were both on the same wifi etc. The following day, after I used rmate successfully for a few hours, the files I was trying to open using rmate started to open on his computer (perhaps when he logged into the hpc). At this point, we were on different internets, networks, etc.
What is going on? I have checked the .ssh config file on both of our laptops, as well as the .bashrc files and bin/rmate files on the hpc. I can't figure out where or how we would be porting into each other's laptops.
Here are the steps I use to install rmate, based on rsub instructions and rmate instructions
rsub
using sublime package manager
.ssh/config
and add RemoteForward 52698 localhost:52698
underHost jump.ecmwf.int a?-* a??-* hpc-* hpc2020-* ecs-*
or Host *
mkdir ~/bin
curl -Lo ~/bin/rmate https://raw.githubusercontent.com/textmate/rmate/master/bin/rmate
chmod a+x ~/bin/rmate
export PATH="$PATH:$HOME/bin"
to .bashrc
rmate FILENAME
and edit the file in sublime on your home systemThanks!
Upvotes: -2
Views: 15