From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: ssh in emacs Date: Sun, 19 Jun 2011 10:57:22 -0600 Message-ID: <20110619165722.GA12574@hysteria.proulx.com> References: <7BDE4112-D89A-47BD-AD10-69643BA93DC5@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308502740 23237 80.91.229.12 (19 Jun 2011 16:59:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2011 16:59:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 19 18:58:55 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QYLKm-0001G3-Sf for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Jun 2011 18:58:53 +0200 Original-Received: from localhost ([::1]:58621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYLKm-0003fc-8W for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Jun 2011 12:58:52 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYLJR-0003dK-SC for help-gnu-emacs@gnu.org; Sun, 19 Jun 2011 12:57:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYLJQ-0006tg-14 for help-gnu-emacs@gnu.org; Sun, 19 Jun 2011 12:57:29 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:48458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYLJP-0006tC-LT for help-gnu-emacs@gnu.org; Sun, 19 Jun 2011 12:57:27 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 525D721310 for ; Sun, 19 Jun 2011 10:57:23 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id E1D012DC6B; Sun, 19 Jun 2011 10:57:22 -0600 (MDT) Mail-Followup-To: Bob Proulx , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <7BDE4112-D89A-47BD-AD10-69643BA93DC5@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 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:81365 Archived-At: Perry Smith wrote: > Seems like I asked this (or someone asked this) within the past year but: > > is there a mode like telnet and rlogin but uses ssh? I use for this is ssh.el ssh-mode by Noah Friedman. I think this is exactly what you are asking about. Check it out. http://www.splode.com/~friedman/software/emacs-lisp/ http://www.splode.com/~friedman/software/emacs-lisp/src/ssh.el The other way I use ssh inside of emacs is to open a terminal window in emacs, or more precisely as described in the emacs manual in section "41.8 Emacs Terminal Emulator" window. http://www.gnu.org/software/emacs/manual/html_node/emacs/Terminal-emulator.html#Terminal-emulator Terminal mode is a little more complicated because it takes a little bit of learning in order to drive terminal mode inside of emacs but it does work out of the box without installing anything additional installed. Plus knowing terminal mode is useful for other things. I often use it for various unrelated things. But here the concept is to start terminal mode inside emacs and then just ssh normally in that window to the remote host. You can even run emacs inside emacs that way. Bob