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

No error message, but sublime doesn't open the File #12

Open
blutjens opened this issue Jan 30, 2020 · 8 comments
Open

No error message, but sublime doesn't open the File #12

blutjens opened this issue Jan 30, 2020 · 8 comments

Comments

@blutjens
Copy link

Hello,
Thanks for the great tool!

I am running $rmate tst.py , and don't get any error message, but my sublime does not open any file. Would you be able to help me, please?

I have installed RemoteSubl in sublime text 3.1..1 on my local workstation, that runs Windows 10. I have installed rmate on my remote workstation in /home/users/<my_username>/rmate (because I don't have access to /usr/local/bin/). I have also added /home/users/<my_username>/rmate to the PATH environment variable and ran $chmod a+x /home/users/<my_username>/rmate.

Thank you!
Björn

@permissionx
Copy link

Same problem. No any responses, and sublime not open.

@chrwalz
Copy link

chrwalz commented Apr 16, 2020

Same issue on windows 10 with OpenSSH, however works as expected when using putty.

@randy3k
Copy link
Owner

randy3k commented Apr 16, 2020

You want to check if the port is being forwarded.

@chrwalz
Copy link

chrwalz commented Apr 16, 2020

Just to provide some more information for the OpenSSH in windows that I'm experiencing:

I am connecting using: ssh -p 22 -R 52698:localhost:52698 -i privateKeyLocation -v user@host
With the console output being:

~$ rsub test.txt
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 3 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen localhost port 52698, originator 127.0.0.1 port 49846
debug1: getsockopt TCP_NODELAY: Invalid argument
debug1: connect_next: host localhost ([::1]:52698) in progress, fd=7
debug1: channel 1: new [127.0.0.1]
debug1: confirm forwarded-tcpip
debug1: channel 1: connected to localhost port 52698
debug1: channel 1: free: 127.0.0.1, nchannels 2
~$

with nothing opening in sublime.

Thanks!

@ayalon
Copy link

ayalon commented Apr 26, 2020

I fixed it on Windows 10. The issue is the Bash Shell script. I simply switched to the python version of rmate:
https://github.com/sclukey/rmate-python

After adding these lines to ~/.ssh/config it worked also with Windows OpenSSH.

But I have to admit, that I updated the Windows OpenSSH binaries to the latest version:

Host *
  RemoteForward 52698 127.0.0.1:52698

Do not use localhost:52698 it does not work. It has to be 127.0.0.1:52698

@gabrer
Copy link

gabrer commented May 8, 2020

I had the same problem on Windows 10.
Then, thanks to @ayalon, I've just modified connection command as follows and it worked:

ssh -R 52698:127.0.0.1:52698 usr@ipadd

I've used 127.0.0.1:52698 rather than localhost:52698.

@sanjiblamichhane
Copy link

I have the same issue but on mac. I tried putting the following instruction on config file but did not work. Any suggestion specific to mac?

Host *
RemoteForward 52698 127.0.0.1:52698

@xiaoyunguo
Copy link

xiaoyunguo commented Jul 21, 2021

I have the same issue on Mac as well. It was working with RemoteForward 52698 127.0.0.1:52698, but after one lost connection session, I can't open any file any more.

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

8 participants