help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to list, add, edit, save file on a remote server


From: Oleksandr Gavenko
Subject: Re: How to list, add, edit, save file on a remote server
Date: Sat, 01 Sep 2012 10:25:46 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]