How to use Sublime Text editor over SSH?

10,006

One simple way is to mount your remote SSH server with your File Manager, which is Nautilus by default in Ubuntu.

To do so, open any directory (go to Home for example), and enter your remote server in Address Bar (press Ctrl+L to edit current location). Type-in desired address with this format:

sftp://[email protected]:22/home/username

After login, your remote server should be mounted like local media - check left Side Bar for it (F9 to hide/show SideBar). You can Bookmark in Nautilus your remote location with Ctrl+D.

You can open files and Sublime Text's projects this way.

Share:
10,006

Related videos on Youtube

vchee
Author by

vchee

Updated on September 18, 2022

Comments

  • vchee
    vchee over 1 year

    First off, I'm new to SSH. I would like to use Sublime Text as my text editor on my computer. However, I cannot install it on the computers that I am connecting to with SSH. How can I use it as my text editor?

    • Dan Johansen
      Dan Johansen over 9 years
      I believe Sublime Text is a GUI app, so you would not be able to use it over an SSH connection. You should have ever be able to install it, by adding the PPA (if needed) running sudo apt-get update and then sudo apt-get install "program name".
    • Vladimir Kovalchuk
      Vladimir Kovalchuk over 9 years
      actually it is possible to run GUI apps using so-called X forwarding. I've done that, more or less works in local network. True hell when running between continents.
    • muru
      muru about 9 years
    • David Foerster
      David Foerster about 9 years
      Another way would be to mount the remote file system with sshfs and run the editor locally.
    • mreq
      mreq about 9 years
      Tried sshfs?