From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Re: How to list, add, edit, save file on a remote server Date: Sat, 01 Sep 2012 10:25:46 +0300 Organization: At home. Message-ID: <87r4qm19xh.fsf@gavenkoa.example.com> References: <87627yac0e.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1346484374 22847 80.91.229.3 (1 Sep 2012 07:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2012 07:26:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 01 09:26:15 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7i5s-0006VC-Dk for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 09:26:12 +0200 Original-Received: from localhost ([::1]:58362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7i5p-0001fN-RK for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 03:26:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7i5k-0001fG-7I for help-gnu-emacs@gnu.org; Sat, 01 Sep 2012 03:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7i5j-0004hw-6T for help-gnu-emacs@gnu.org; Sat, 01 Sep 2012 03:26:04 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7i5i-0004hl-W3 for help-gnu-emacs@gnu.org; Sat, 01 Sep 2012 03:26:03 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T7i5i-0006Ha-9w for help-gnu-emacs@gnu.org; Sat, 01 Sep 2012 09:26:02 +0200 Original-Received: from 46.211.201.73 ([46.211.201.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Sep 2012 09:26:02 +0200 Original-Received: from gavenkoa by 46.211.201.73 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Sep 2012 09:26:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 46.211.201.73 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:blqkMyBpk5PYgUT2C6xlp/LOSxs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86623 Archived-At: 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!