Opening Sublime Text editor from PuTTY terminal

user3299453 picture user3299453 · Aug 6, 2014 · Viewed 9.2k times · Source

I'm implementing a program on my Linux virtual server. For that I use WinSCP and PuTTY.

Should I install my text editor (Sublime Text) on my laptop or on my virtual server and how do I open it from PuTTY?

Answer

Gregory.K picture Gregory.K · May 29, 2018

Another option is rmate

Sublime Text
install package RepoteSubl

Linux Bash Shell

>sudo wget -O /usr/local/bin/rmate https://raw.github.com/aurora/rmate/master/rmate
>sudo chmod a+x /usr/local/bin/rmate

rmate for bash

PuTTY
edit your session
SSH > Tunnels
source port: 52698
destination: localhost:52698
checked: "remote" and "auto"

Connect to Server via SSH (PuTTY)
>rmate file
and the file will open in Sublime Text
edit, save and it will be saved on server