all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.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 10:25:46 +0300	[thread overview]
Message-ID: <87r4qm19xh.fsf@gavenkoa.example.com> (raw)
In-Reply-To: 87627yac0e.fsf@googlemail.com

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

-- 
Best regards!




  reply	other threads:[~2012-09-01  7:25 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 [this message]
2012-09-01 12:18   ` Thorsten Jolitz
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=87r4qm19xh.fsf@gavenkoa.example.com \
    --to=gavenkoa@gmail.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.