From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: emacsclient over ssh Date: Tue, 23 Jun 2009 16:13:03 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245819058 15830 80.91.229.12 (24 Jun 2009 04:50:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2009 04:50:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 06:50:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJKRE-0006KX-Aj for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jun 2009 06:50:24 +0200 Original-Received: from localhost ([127.0.0.1]:51223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJKRD-0007ff-T5 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jun 2009 00:50:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJFBC-0006nH-3y for help-gnu-emacs@gnu.org; Tue, 23 Jun 2009 19:13:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJFB7-0006hh-JQ for help-gnu-emacs@gnu.org; Tue, 23 Jun 2009 19:13:29 -0400 Original-Received: from [199.232.76.173] (port=33267 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJFB7-0006hW-B6 for help-gnu-emacs@gnu.org; Tue, 23 Jun 2009 19:13:25 -0400 Original-Received: from mail-qy0-f185.google.com ([209.85.221.185]:52311) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJFB7-0000mz-41 for help-gnu-emacs@gnu.org; Tue, 23 Jun 2009 19:13:25 -0400 Original-Received: by qyk15 with SMTP id 15so596933qyk.14 for ; Tue, 23 Jun 2009 16:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=8nqZmx/A7v0P3aMQ8G8tgwUY1x/QP5EK8lJXmhgffDk=; b=gXHy6O3alRhQD3EkiOIiAQYp7eQfwxG/r07VfX1EKjghOKu3Occ0MuWP/k6ryDY2UB QruAuxik6tPV9N1cmphee3BzGdmbzPBTox8INwWkaBkxHxyw7i5GgGfLMFysZ8+l5VaK E4pRkYUo3bgOJcw1xOyOO1WiG2c+YW7ylVTV8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=od32l5fU+K3FYBMjJ/+c/v7wUWVZqPU+YjPXJSCMYV4/4R185Wq9UdCtrhqsldWBaj JHtQS88nPph7oqg8ud9Acw6rV1IiLu6Zx9GjxkqrwY/86gmz4L2bsRmYR1iMT6pTgWQK n5JW8Aj3lMTpyV2BHt7Lx+6/PqS4Tm4kPm+pY= Original-Received: by 10.220.77.84 with SMTP id f20mr888693vck.109.1245798803150; Tue, 23 Jun 2009 16:13:23 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 74360c0e5c653801 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 24 Jun 2009 00:46:50 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65469 Archived-At: 2009/6/23 Richard Riley : > Harry Putnam writes: > >> Can I get some guidance on this: >> >> I want to run emacsclient on localhost but connect to emacs-server >> running running on remotehost. >> >> is there syntax for the emacsclient -s flag to go thru ssh to the >> remote emacs-server >> >> =A0 maybe something like emacsclient -s host:server -c >> >> If this is the wrong way to go maybe someone can tell me how its done. >> So far I've just been doing ssh user@host >> Then run emacsclient on the remote... but of course I'm then limited >> to a console emacs. > > Possibly just enable x forwarding? Google will help with that. Probably > something like /etc/ssh/sshd_config and > > "X11Forwarding yes" > > Then if you have the server running on hermes for example your > command could be I guess: > > ssh hermes 'emacsclient -c filename' > use 'ssh -Y' for X forwarding --=20 Suvayu Open source is the future. It sets us free.