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?
You cannot run local Windows application from PuTTY terminal connected to a remote server.
You can run remote installation of an application on a local X Server from PuTTY terminal though.
Anyway, why do you need to run it from PuTTY terminal? As you are using WinSCP too, why don't you configure the local Windows installation of Sublime Text as an external editor for WinSCP?
https://winscp.net/eng/docs/ui_pref_editor
Alternatively install SFTP plugin to your local installation of Sublime Text.
See How could I run Sublime Text 2 without X server?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With