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?
Asked
Active
Viewed 1.0k times
3
-
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". – Dan Johansen Dec 05 '14 at 20:13
-
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. – Vladimir Kovalchuk Dec 05 '14 at 22:03
-
1possible duplicate of How to start a GUI software on a remote Linux PC via SSH – muru Mar 20 '15 at 14:28
-
1Another way would be to mount the remote file system with sshfs and run the editor locally. – David Foerster Mar 20 '15 at 14:29
-
Tried sshfs? – mreq Mar 20 '15 at 14:34
1 Answers
5
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://username@server.example.com: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.

madneon
- 1,983
- 1
- 13
- 20