This is not so much a bug that needs to be fixed, but some clarification needed on the documentation. (I can pull and add myself, if desired, but this seemed easier since the change is so small.)
When installing, I thought I made a mistake and couldn't get things to work, but then I finally figured out that you cannot add new files via this workflow.
For instance, in the documentation, there is an example which says:
Go to the remote system and run
rmate -p 52698 file
In this case, be sure that file is the name of a file that actually exists!! For example, if your server already has a file at ~/src/index.sh, be sure to run:
rmate -p 52698 ~/src/index.sh
If the file does not exist, first make it on the server.
I am not sure if I am actually doing anything wrong, but I noticed that I can indeed edit the file and it is saved properly on the remote server as long as it already existed.
This is not so much a bug that needs to be fixed, but some clarification needed on the documentation. (I can pull and add myself, if desired, but this seemed easier since the change is so small.)
When installing, I thought I made a mistake and couldn't get things to work, but then I finally figured out that you cannot add new files via this workflow.
For instance, in the documentation, there is an example which says:
Go to the remote system and run
rmate -p 52698 file
In this case, be sure that
file
is the name of a file that actually exists!! For example, if your server already has a file at~/src/index.sh
, be sure to run:If the file does not exist, first make it on the server.
I am not sure if I am actually doing anything wrong, but I noticed that I can indeed edit the file and it is saved properly on the remote server as long as it already existed.