Open file in local text editor from within an SSH connection
Posted
by
Sam
on Super User
See other posts from Super User
or by Sam
Published on 2013-05-21T20:44:46Z
Indexed on
2013/11/03
15:59 UTC
Read the original article
Hit count: 234
I'm not a vim guy. I'd like to be able to open log files in Sublime Text when in an SSH connection from within Terminal. Is there a way I could do this? I'm thinking there must be a command or something that could copy the file over to a temporary directory in OS X and then open it in Sublime Text, and when I save it, it'll copy back to the original location through SSH; similar to how FileZilla does it.
I'm on Mac OS X MT. The server I SSH into is running Ubuntu. I'm using Terminal.
© Super User or respective owner