RemoteSubl icon indicating copy to clipboard operation
RemoteSubl copied to clipboard

Don't have sudo access on server, any solution?

Open fabeit opened this issue 7 years ago • 8 comments

Nice package as usual but I have the above problem. Is there a workaround? Thanks

fabeit avatar Nov 14 '18 17:11 fabeit

You could install install rmate in your local directory, you just need to make sure the path is exposed to PATH variable.

randy3k avatar Nov 14 '18 18:11 randy3k

Sorry I failed to mention I am on windows, usually I use Putty, or filezilla to access files on the server. I can't find much information on how to do this on windows. Would you know?

fabeit avatar Nov 16 '18 09:11 fabeit

So your server is a window machine?

randy3k avatar Nov 16 '18 15:11 randy3k

The server is CentOS and I have no sudo access. The local machine is Windows. I usually work on the server using putty and vim.

fabeit avatar Nov 16 '18 17:11 fabeit

As I have said earlier, You could install rmate in your local user directory.

randy3k avatar Nov 16 '18 17:11 randy3k

I just can't find any info on how to install rmate in windows, all I see are instructions to install it on linux.

fabeit avatar Nov 16 '18 18:11 fabeit

You should install rmate on the remote server, not your local machine. When I said local user directory, I meant the local user directory of your remote server.

randy3k avatar Nov 16 '18 18:11 randy3k

Ok I got that. Installed it with -x permission, opened the ssh connection from my local machine to the remote machine. Then from the remote machine I get

./rsubl test.txt : No such file or directory

test.txt is in the same directory as rsubl

fabeit avatar Nov 21 '18 11:11 fabeit