From: Thorsten Jolitz <tjolitz@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to list, add, edit, save file on a remote server
Date: Sat, 01 Sep 2012 14:18:30 +0200 [thread overview]
Message-ID: <87fw72542x.fsf@googlemail.com> (raw)
In-Reply-To: 87r4qm19xh.fsf@gavenkoa.example.com
Oleksandr Gavenko <gavenkoa@gmail.com> writes:
> On 2012-09-01, Thorsten Jolitz wrote:
>
>> How would you do that?
>> Via FTP? With Tramp? Would it be possible to run dired on the foreign
>> server?
>
> Tramp.
>
> To login to server from Emacs:
>
> /ssh:user@host:/etc/ TAB <-- completion work here, but you prompted for
> password if don't setup RSA/DSA keys.
>
> To list file on server:
>
> /ssh:user@host:/etc/ RET
>
> To open file from server:
>
> /ssh:user@host:/home/user/.bashrc RET
>
> Also M-x find-dired, rgrep, lgrep, compile - properly work with TRAMP (run
> on remote server and show result in your Emacs).
>
> Read manual: C-h i S tramp RET RET
That looks easy enough, thanks.
And it would mean that there is no need for extra commands in my Emacs
mode (like M-x my-mode-list-list-wiki-files or so) because Tramp lets
you work on the server (almost) like on your machine - just open a file,
type M-x my-mode and start editing. Nice.
--
cheers,
Thorsten
next prev parent reply other threads:[~2012-09-01 12:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 23:16 How to list, add, edit, save file on a remote server Thorsten Jolitz
2012-09-01 7:25 ` Oleksandr Gavenko
2012-09-01 12:18 ` Thorsten Jolitz [this message]
2012-09-04 19:37 ` Jeffery Rancier
[not found] <mailman.7889.1346454792.855.help-gnu-emacs@gnu.org>
2012-08-31 23:53 ` Barry Margolin
2012-09-01 12:19 ` Thorsten Jolitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fw72542x.fsf@googlemail.com \
--to=tjolitz@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.