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.
Related videos on Youtube
Author by
vchee
Updated on September 18, 2022Comments
-
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 over 9 yearsI 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 over 9 yearsactually 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 about 9 yearspossible duplicate of How to start a GUI software on a remote Linux PC via SSH
-
David Foerster about 9 yearsAnother way would be to mount the remote file system with sshfs and run the editor locally.
-
mreq about 9 yearsTried sshfs?
-