I'm editing some source files that need to be run remotely and I'd like to use my editor locally. Is there some sort of streamed lined way in which I can save the files onto the remote machine without having to sftp into the remote machine and copy the files over every time? Something along the lines of a script or a symbolic link? I'm using Linux and have SSH/SFTP access to the machine.[Edited on March 3, 2008 at 1:37 PM. Reason : ]
3/3/2008 1:37:08 PM
can you not run some sort of editor that is actually editing the remote file (vi, emacs, etc) on the remote computer?oh. i reread. why do you need to run the editor locally?[Edited on March 3, 2008 at 1:50 PM. Reason : .]
3/3/2008 1:50:30 PM
nfs or sshfs
3/3/2008 2:12:13 PM
3/3/2008 2:14:05 PM
^^ or use an editor that supports FTP/ssh[Edited on March 3, 2008 at 2:16 PM. Reason : .]
3/3/2008 2:15:56 PM
seriously... vi/vim is not that hard. Just start a new vi file and google for vi commands and practice. Screw around with something that you can screw up, always make a backup before you start dicking around with a file so if you do screw it up you can go back to the backup.You'll thank yourself later.
3/3/2008 2:16:56 PM
^^ Yeah.I figured he had some weird reason for editing locally. I wouldn't have guessed that a linux user would be unwilling/unable to use vim.Don't most of the popular desktops (KDE/GNOME) include file managers that allow you to browse sftp?
3/3/2008 2:22:04 PM
I know. I took heat from the "old guys" at my last job for not knowing vi, and after seeing how efficient it is I can understand why. Right now, however, isn't the time for me to learn it but I will probably try to sometime in the future. Thanks for the suggestions, I'm sure I can find and editor with some FTP/SSH capability.
3/3/2008 2:26:17 PM
i've been using editplus for a long time and it has ftp capabilities.
3/3/2008 3:14:55 PM
emacs would be better for you if you dont have much time to spend learning a new program
3/3/2008 3:36:32 PM
if you learn just the basic cut/paste/save commands, you could get up and running on emacs in ten minutes. it's really not hard.
3/3/2008 4:37:12 PM
Ultraedit can do it.
3/3/2008 6:44:00 PM
Slickedit did a great job
3/4/2008 3:50:32 PM
I use coda for ssh/sftp editing files remotely. Not sure if there is a linux build...think its just for Mac's.
3/4/2008 5:22:42 PM
I create a connection to the server using WinSCP, and when I right click on the file I want to edit, choose Edit, it will download a local copy to a temporary location on my HDD and open in my editor of choice (emEditor). When I hit save, WinSCP automatically picks up this change, and re-uploads the new file to the remote server.
3/4/2008 5:50:32 PM