rsub with sublime and ssh connection refusual

后端 未结 8 1810
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 14:25

I am trying to use rsub to create tunnel in ssh to sublime text, I run the command rmate .profile but i get the following response. I am using wateroof to open the ports 52968 o

相关标签:
8条回答
  • 2021-01-30 14:53

    For example my SSH config ~/.ssh/config file to connect with DigitalOcean with Remote Forward looks like:

    Host DigitalOcean
      Hostname xxx.xxx.xxx.xxx
      User username
      RemoteForward 52698 localhost:52698
    

    and is called in a terminal

    ssh DigitalOcean
    

    rmate then connects fine with my local Atom editor

    0 讨论(0)
  • 2021-01-30 14:59

    I had the same issue and here is what works for me. If you have multiple servers you want this to work for, do the following as exactly shown here:

    Host *
      RemoteForward 52698 localhost:52698
    

    I consulted this link: configure SSH config file and realized you can use * in config file.

    Wildcards are also available to allow for options that should have a broader scope.

    0 讨论(0)
提交回复
热议问题