How to use rsub with Sublime Text with OpenSSH Windows 10

I am using Windows 10 openssh (built into cmd) with rsub () installed on an Ubuntu (18.04 LTS) server and Sublime Text 3. I am connecting using:

ssh -p 22 -R 52698:localhost:52698 -i privateKey user@hostname

I am using the command:

sudo rsub test.txt

it will not return any error or open the file in Sublime Text.

I have checked netstat server side and client side and confirmed that there are TCP services listening on port 52698 client and server side.

Are there any prerequisites that I may be missing? Are there any firewalls that should be changed server side or client side?

2 Answers

Install rmate on your Ubuntu machine and use 'sudo rmate file.txt' to open sublimetext locally with rsub installed.

stumble upon the same issue, fixed with -R 52698:127.0.0.1:52698

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like