Solved

using Sublime Text for SSH remote file editing

Posted on 2014-07-31
6
1,325 Views
Last Modified: 2014-08-12
Hi,

I read this article:
http://log.liminastudio.com/writing/tutorials/sublime-tunnel-of-love-how-to-edit-remote-files-with-sublime-text-via-an-ssh-tunnel

which allows one to edit using Sublime 2 (it's on version 3 now) to connect from a local linux box to a remote server linux box to edit files locally using Sublime.

I'm wondering how this is possible because I develop mostly on my Windows 7 64bit machine.

Thank you!
0
Comment
Question by:Victor Kimura
  • 3
  • 2
6 Comments
 
LVL 61

Assisted Solution

by:gheist
gheist earned 166 total points
ID: 40233915
Normally one edits files from something like filezilla or winscp, so they are downloaded, changed, and uploaded back.
Sublime solution estabilishes sub-tunnel for sublime file editing protocol.
Choose which you like. First requires no configuration on server.
0
 
LVL 26

Assisted Solution

by:skullnobrains
skullnobrains earned 334 total points
ID: 40242077
the docs looks like it is for unix-like OSes (or possibly cygwin).

i usually use jedit which features an FTP plugin that also handles SSH connections. it does real file in place editing and no messy pick-the-changes-and-sync-the-file so when you press ctrl+S you actually know when the file is actually loaded on the server. you also notice when the server is away.

other software can probably do the same. i just happen to be used to this one. note that the PASSWORD method for ssh authentication needs to be enabled on the server if you do not use keys
0
 

Author Comment

by:Victor Kimura
ID: 40242575
@gheist, are their tutorials on how I edit via a secure tunnel with my windows 7 machine to a linux box?

@skullnobrains, ok, thanks! I will try it.

Just wondering if there are any others out there who know how I can can do edits remotely via SSH using Sublime with a Windows machine.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 26

Accepted Solution

by:
skullnobrains earned 334 total points
ID: 40242698
you can use sshfs in cygwin or possibly https://code.google.com/p/win-sshfs/ (which i never personally tried)

this method will work whatever the editor

---

did you try what the doc says ?
0
 

Author Comment

by:Victor Kimura
ID: 40242789
@skullnobrains, not yet. =)
I'm going to try cygwin though.
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 40243103
you're not going the easiest way.

if you have to use sublime, their provided way does not seem too complicated if you have an actual command line available on the remote machine and not just sftp file transfer ; if not win-ssh should be easier to setup than cygwin unless you already are used to it.

from my experience native ssh in jedit is by far the easiest to setup, and probably more stable than other methods

feel free to post if you run into trouble.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
gdb doesn't stop on breakpoint 2 48
Linux hostname change 2 54
linux redhat 7.2 10 38
How code a 301 redirect for folder files -> 1 file 2 18
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now