Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

remote editing of files with emacs on a machine that does not have emacs installed

6 views
Skip to first unread message

Kenneth Wolcott

unread,
Feb 8, 2016, 1:52:23 PM2/8/16
to help-gn...@gnu.org
Hi;

I'm in a fairly complex environment.

My desktop is Windows.

I use VirtualBox to reach a local Debian Guest OS.

When logged in to the Debian VirtualBox guest OS, I ssh to a CentOS
6.6 vmWare vm.

The file I want to edit-test-run resides on the CentOS vmWare vm.

I wish to use emacs to edit the file on the CentOS vm but the CentOS
vmWare vm does not have emacs installed and it probably should not
have emacs installed locally.

My workaround (so far) is to edit the file on my Debian VirtualBox
vm or a Mac vmWare vm and then push the changed file to the CentOS
vmWare vm to test it and run it to see that it works (or not).

My other workaround is to use vi (vim) on the CentOS vmWare vm.
Since I am leveraging a current (working) script to become the new
script, I will need to use tabbed windows to compare working code for
one product which I want to mimic for the new build script.

I really dislike vi (vim) and I have not yet learned how to use vi
(vim) in a tabbed manner.

My desired result is to be able to use emacs on the machine that has
emacs but to edit the file where the file is on the machine that
doesn't have emacs.

I have configured ssh so that I can login from machine A to machine
B (different user on machine B) without a password.

Now I should be able to bring up (using tramp in ssh mode?) the file
that resides on machine B using emacs on machine A?

Thanks,
Ken Wolcott

Barry Margolin

unread,
Feb 8, 2016, 2:08:44 PM2/8/16
to
In article <mailman.4097.14549575...@gnu.org>,
Kenneth Wolcott <kenneth...@gmail.com> wrote:

> Hi;
>
> I'm in a fairly complex environment.
>
> My desktop is Windows.
>
> I use VirtualBox to reach a local Debian Guest OS.
>
> When logged in to the Debian VirtualBox guest OS, I ssh to a CentOS
> 6.6 vmWare vm.
>
> The file I want to edit-test-run resides on the CentOS vmWare vm.
>
> I wish to use emacs to edit the file on the CentOS vm but the CentOS
> vmWare vm does not have emacs installed and it probably should not
> have emacs installed locally.
...
> Now I should be able to bring up (using tramp in ssh mode?) the file
> that resides on machine B using emacs on machine A?

Yes, you should be able to do it. Is it not working?

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
0 new messages