LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2012, 01:35 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
editors that can edit files over ssh


I know that some editors can do remote files. But it seems they are limited to FTP, or in some cases HTTP where PUT is enabled. The user here that wants to do remote editing graphically is finding slow response when running gvim on a remote machine opening a window on his desktop. But he's unable to get it to open a file via ssh or scp or rsync (over ssh). Anyone know of an editor with the vi command set that can do this over ssh?

I do not want to have users mounting remote filesystems because the number of remote machines is expected to get very large, so I am ruling out things like sshfs as a practical solution.
 
Old 07-20-2012, 02:22 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
gvim is a vi over ssh solution so if you're getting slow performance with gvim creating an vi over ssh command would give you the same results. I would start looking at the root cause of the latency in the network.
 
Old 07-21-2012, 11:55 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by Kustom42 View Post
gvim is a vi over ssh solution so if you're getting slow performance with gvim creating an vi over ssh command would give you the same results. I would start looking at the root cause of the latency in the network.
If the X app is remote, it is always slow. There is latency and X does a lot of packet turnarounds that add up latency quickly.

I was told that gvim would not communicate via ssh. Need to check into that and how it is set up. If it is running the actual ssh command, it should work, since the actual ssh command does. Unfortunately I don't have the machines involved and will need to work with those that do. At least now I know it is supposed to work.
 
Old 07-22-2012, 07:13 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Vim/Gvim has since version 6 the netrw plugin installed by default. It can use scp to edit files on a remote machine (amongst other formats). Have a look here, this may be helpful for you: http://vim.wikia.com/wiki/Editing_re...via_scp_in_vim
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't edit files while using ssh to remotely access linux server from a Windows comp soundersfc Linux - Newbie 3 10-11-2010 01:48 PM
Linux image editors, video editors, audio editors, designing programs? vieya Linux - Software 3 12-06-2009 10:02 AM
Text file editors with built-in SFTP/SSH/SCP ToBe Linux - Software 1 11-19-2008 07:45 AM
Cannot edit files pertaining to SSH security bourne Linux - Server 3 11-19-2007 09:23 PM
How Do I Edit Files in SSH/Telnet? John_Saunders Linux - Newbie 5 06-15-2002 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration