Search code examples
terminaleditorsublimetextputtywinscp

Opening Sublime Text editor from PuTTY terminal


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?


Solution

  • 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?