I am trying to compare two files one local and other one on remote. I used
meld a.txt user@host:/home/user/john/b.txt
This was not possible because file could not be detected. However, I could copy the same file from the same location to local via scp and do the comparison afterwards. How to access the file directly on cluster for example like:
vim user@host:/home/user/john/b.txt
In bash, you can create a file from a process with
<(...):If you want to modify the remote file, you'll have to use some mounting.
One way to do it is to use sshfs