Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fabeit opened this issue Nov 14, 2018 · 8 comments
Open

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

fabeit opened this issue Nov 14, 2018 · 8 comments

Comments

@fabeit
Copy link

fabeit commented Nov 14, 2018

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

@randy3k
Copy link
Owner

randy3k commented Nov 14, 2018

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

@fabeit
Copy link
Author

fabeit commented Nov 16, 2018

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?

@randy3k
Copy link
Owner

randy3k commented Nov 16, 2018

So your server is a window machine?

@fabeit
Copy link
Author

fabeit commented Nov 16, 2018

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.

@randy3k
Copy link
Owner

randy3k commented Nov 16, 2018

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

@fabeit
Copy link
Author

fabeit commented Nov 16, 2018

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

@randy3k
Copy link
Owner

randy3k commented Nov 16, 2018

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.

@fabeit
Copy link
Author

fabeit commented Nov 21, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants